emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r111009: * lread.c (Vload_source_f


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r111009: * lread.c (Vload_source_file_function): Doc fix.
Date: Sat, 08 Dec 2012 11:16:45 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111009
fixes bug: http://debbugs.gnu.org/11647
author: Christopher Schmidt <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-24
timestamp: Sat 2012-12-08 11:16:45 +0800
message:
  * lread.c (Vload_source_file_function): Doc fix.
modified:
  src/ChangeLog
  src/lread.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-12-07 15:28:20 +0000
+++ b/src/ChangeLog     2012-12-08 03:16:45 +0000
@@ -1,3 +1,7 @@
+2012-12-08  Christopher Schmidt  <address@hidden>
+
+       * lread.c (Vload_source_file_function): Doc fix (Bug#11647).
+
 2012-12-07  Eli Zaretskii  <address@hidden>
 
        * indent.c (Fvertical_motion): If a display string will be

=== modified file 'src/lread.c'
--- a/src/lread.c       2012-10-20 12:50:49 +0000
+++ b/src/lread.c       2012-12-08 03:16:45 +0000
@@ -4518,12 +4518,16 @@
   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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]