]> code.delx.au - gnu-emacs/commitdiff
* lread.c (Vload_source_file_function): Doc fix.
authorChristopher Schmidt <christopher@ch.ristopher.com>
Sat, 8 Dec 2012 03:16:45 +0000 (11:16 +0800)
committerChong Yidong <cyd@gnu.org>
Sat, 8 Dec 2012 03:16:45 +0000 (11:16 +0800)
Fixes: debbugs:11647
src/ChangeLog
src/lread.c

index 1cca404d2aaf458d423343dfdcd0e66d7d5367f0..427f729730f3640dca3b78f69995f05db52dbef2 100644 (file)
@@ -1,3 +1,7 @@
+2012-12-08  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+       * lread.c (Vload_source_file_function): Doc fix (Bug#11647).
+
 2012-12-07  Eli Zaretskii  <eliz@gnu.org>
 
        * indent.c (Fvertical_motion): If a display string will be
index 947446202794b9e3cc901c25faa2b3d56e5420c4..be7b44e603bad007d3649ddb8b9af31bcf314fb7 100644 (file)
@@ -4518,12 +4518,16 @@ The default is nil, which means use the function `read'.  */);
   Vload_read_function = Qnil;
 
   DEFVAR_LISP ("load-source-file-function", Vload_source_file_function,
-              doc: /* Function called in `load' for loading an Emacs Lisp source file.
-This function is for doing code conversion before reading the source file.
-If nil, loading is done without any code conversion.
-Arguments are FULLNAME, FILE, NOERROR, NOMESSAGE, where
- FULLNAME is the full name of FILE.
-See `load' for the meaning of the remaining arguments.  */);
+              doc: /* Function called in `load' to load an Emacs Lisp source file.
+The value should be a function for doing code conversion before
+reading a source file.  It can also be nil, in which case loading is
+done without any code conversion.
+
+If the value is a function, it is called with four arguments,
+FULLNAME, FILE, NOERROR, NOMESSAGE.  FULLNAME is the absolute name of
+the file to load, FILE is the non-absolute name (for messages etc.),
+and NOERROR and NOMESSAGE are the corresponding arguments passed to
+`load'.  The function should return t if the file was loaded.  */);
   Vload_source_file_function = Qnil;
 
   DEFVAR_BOOL ("load-force-doc-strings", load_force_doc_strings,