diff options
| author | Richard M. Stallman | 2005-10-21 17:25:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-10-21 17:25:23 +0000 |
| commit | e1f4af40f42b83d204a417c7055354ea1e80b378 (patch) | |
| tree | c9d9f1d6cb3393a52b4a36b020a3dbcc11f1a9df | |
| parent | b44da9f16bbb5fb1a220a5ed76107cad061a13d3 (diff) | |
| download | emacs-e1f4af40f42b83d204a417c7055354ea1e80b378.tar.gz emacs-e1f4af40f42b83d204a417c7055354ea1e80b378.zip | |
(Where Defined): load-history contains abs file names.
symbol-file returns abs file names.
| -rw-r--r-- | lispref/loading.texi | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lispref/loading.texi b/lispref/loading.texi index afef0e787a5..a9f3913bb84 100644 --- a/lispref/loading.texi +++ b/lispref/loading.texi | |||
| @@ -736,23 +736,21 @@ If @var{type} is @code{nil}, then any kind of definition is | |||
| 736 | acceptable. If @var{type} is @code{defun} or @code{defvar}, that | 736 | acceptable. If @var{type} is @code{defun} or @code{defvar}, that |
| 737 | specifies function definition only or variable definition only. | 737 | specifies function definition only or variable definition only. |
| 738 | 738 | ||
| 739 | The value is the file name as it was specified to @code{load}: | 739 | The value is normally an absolute file name. It can also be |
| 740 | either an absolute file name, or a library name | 740 | @code{nil}, if the definition is not associated with any file. |
| 741 | (with no directory name and no @samp{.el} or @samp{.elc} at the end). | ||
| 742 | It can also be @code{nil}, if the definition is not associated with any file. | ||
| 743 | @end defun | 741 | @end defun |
| 744 | 742 | ||
| 745 | The basis for @code{symbol-file} is the data in the variable | 743 | The basis for @code{symbol-file} is the data in the variable |
| 746 | @code{load-history}. | 744 | @code{load-history}. |
| 747 | 745 | ||
| 748 | @defvar load-history | 746 | @defvar load-history |
| 749 | This variable's value is an alist connecting library names with the | 747 | This variable's value is an alist connecting library file names with the |
| 750 | names of functions and variables they define, the features they provide, | 748 | names of functions and variables they define, the features they provide, |
| 751 | and the features they require. | 749 | and the features they require. |
| 752 | 750 | ||
| 753 | Each element is a list and describes one library. The @sc{car} of the | 751 | Each element is a list and describes one library. The @sc{car} of the |
| 754 | list is the name of the library, as a string. The rest of the list | 752 | list is the absolute file name of the library, as a string. The rest |
| 755 | elements have these forms: | 753 | of the list elements have these forms: |
| 756 | 754 | ||
| 757 | @table @code | 755 | @table @code |
| 758 | @item @var{var} | 756 | @item @var{var} |