diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/lread.c | 28 |
2 files changed, 17 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d6447678e0b..73000341f68 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-01-01 Chong Yidong <cyd@stupidchicken.com> | 1 | 2010-01-01 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * lread.c (syms_of_lread): Make it clearer that these are the | ||
| 4 | names of loaded files (Bug#5068). | ||
| 5 | |||
| 3 | * eval.c (run_hook_with_args): Handle the case where the global | 6 | * eval.c (run_hook_with_args): Handle the case where the global |
| 4 | value has the obsolete single-function form (Bug#5026). | 7 | value has the obsolete single-function form (Bug#5026). |
| 5 | 8 | ||
diff --git a/src/lread.c b/src/lread.c index 0649c638d98..50d2702639e 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4377,20 +4377,20 @@ the rest of the FORMS. */); | |||
| 4377 | Vafter_load_alist = Qnil; | 4377 | Vafter_load_alist = Qnil; |
| 4378 | 4378 | ||
| 4379 | DEFVAR_LISP ("load-history", &Vload_history, | 4379 | DEFVAR_LISP ("load-history", &Vload_history, |
| 4380 | doc: /* Alist mapping file names to symbols and features. | 4380 | doc: /* Alist mapping loaded file names to symbols and features. |
| 4381 | Each alist element is a list that starts with a file name, | 4381 | Each alist element should be a list (FILE-NAME ENTRIES...), where |
| 4382 | except for one element (optional) that starts with nil and describes | 4382 | FILE-NAME is the name of a file that has been loaded into Emacs. |
| 4383 | definitions evaluated from buffers not visiting files. | 4383 | The file name is absolute and true (i.e. it doesn't contain symlinks). |
| 4384 | 4384 | As an exception, one of the alist elements may have FILE-NAME nil, | |
| 4385 | The file name is absolute and is the true file name (i.e. it doesn't | 4385 | for symbols and features not associated with any file. |
| 4386 | contain symbolic links) of the loaded file. | 4386 | |
| 4387 | 4387 | The remaining ENTRIES in the alist element describe the functions and | |
| 4388 | The remaining elements of each list are symbols defined as variables | 4388 | variables defined in that file, the features provided, and the |
| 4389 | and cons cells of the form `(provide . FEATURE)', `(require . FEATURE)', | 4389 | features required. Each entry has the form `(provide . FEATURE)', |
| 4390 | `(defun . FUNCTION)', `(autoload . SYMBOL)', `(defface . SYMBOL)' | 4390 | `(require . FEATURE)', `(defun . FUNCTION)', `(autoload . SYMBOL)', |
| 4391 | and `(t . SYMBOL)'. An element `(t . SYMBOL)' precedes an entry | 4391 | `(defface . SYMBOL)', or `(t . SYMBOL)'. In addition, an entry `(t |
| 4392 | `(defun . FUNCTION)', and means that SYMBOL was an autoload before | 4392 | . SYMBOL)' may precede an entry `(defun . FUNCTION)', and means that |
| 4393 | this file redefined it as a function. | 4393 | SYMBOL was an autoload before this file redefined it as a function. |
| 4394 | 4394 | ||
| 4395 | During preloading, the file name recorded is relative to the main Lisp | 4395 | During preloading, the file name recorded is relative to the main Lisp |
| 4396 | directory. These file names are converted to absolute at startup. */); | 4396 | directory. These file names are converted to absolute at startup. */); |