diff options
| author | Glenn Morris | 2012-12-09 18:00:42 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-12-09 18:00:42 -0800 |
| commit | 265c2fbf11cb8bf9b805df63ecb9508631f08e35 (patch) | |
| tree | 808684294d7ec600f5300e0a5d5f868740096f7b /src/lread.c | |
| parent | 5f460827dd14fbfae26ac8451cedd4446817d1ec (diff) | |
| parent | f433306af510e86a614e9f9f082b6d2d5f56a968 (diff) | |
| download | emacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.tar.gz emacs-265c2fbf11cb8bf9b805df63ecb9508631f08e35.zip | |
Merge from emacs-24; up to 2012-11-26T19:56:14Z!monnier@iro.umontreal.ca
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/lread.c b/src/lread.c index 6647382a254..2f385797ca0 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4525,12 +4525,16 @@ The default is nil, which means use the function `read'. */); | |||
| 4525 | Vload_read_function = Qnil; | 4525 | Vload_read_function = Qnil; |
| 4526 | 4526 | ||
| 4527 | DEFVAR_LISP ("load-source-file-function", Vload_source_file_function, | 4527 | DEFVAR_LISP ("load-source-file-function", Vload_source_file_function, |
| 4528 | doc: /* Function called in `load' for loading an Emacs Lisp source file. | 4528 | doc: /* Function called in `load' to load an Emacs Lisp source file. |
| 4529 | This function is for doing code conversion before reading the source file. | 4529 | The value should be a function for doing code conversion before |
| 4530 | If nil, loading is done without any code conversion. | 4530 | reading a source file. It can also be nil, in which case loading is |
| 4531 | Arguments are FULLNAME, FILE, NOERROR, NOMESSAGE, where | 4531 | done without any code conversion. |
| 4532 | FULLNAME is the full name of FILE. | 4532 | |
| 4533 | See `load' for the meaning of the remaining arguments. */); | 4533 | If the value is a function, it is called with four arguments, |
| 4534 | FULLNAME, FILE, NOERROR, NOMESSAGE. FULLNAME is the absolute name of | ||
| 4535 | the file to load, FILE is the non-absolute name (for messages etc.), | ||
| 4536 | and NOERROR and NOMESSAGE are the corresponding arguments passed to | ||
| 4537 | `load'. The function should return t if the file was loaded. */); | ||
| 4534 | Vload_source_file_function = Qnil; | 4538 | Vload_source_file_function = Qnil; |
| 4535 | 4539 | ||
| 4536 | DEFVAR_BOOL ("load-force-doc-strings", load_force_doc_strings, | 4540 | DEFVAR_BOOL ("load-force-doc-strings", load_force_doc_strings, |