aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-21 17:25:23 +0000
committerRichard M. Stallman2005-10-21 17:25:23 +0000
commite1f4af40f42b83d204a417c7055354ea1e80b378 (patch)
treec9d9f1d6cb3393a52b4a36b020a3dbcc11f1a9df
parentb44da9f16bbb5fb1a220a5ed76107cad061a13d3 (diff)
downloademacs-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.texi12
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
736acceptable. If @var{type} is @code{defun} or @code{defvar}, that 736acceptable. If @var{type} is @code{defun} or @code{defvar}, that
737specifies function definition only or variable definition only. 737specifies function definition only or variable definition only.
738 738
739The value is the file name as it was specified to @code{load}: 739The value is normally an absolute file name. It can also be
740either 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).
742It 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
749This variable's value is an alist connecting library names with the 747This variable's value is an alist connecting library file names with the
750names of functions and variables they define, the features they provide, 748names of functions and variables they define, the features they provide,
751and the features they require. 749and the features they require.
752 750
753Each element is a list and describes one library. The @sc{car} of the 751Each element is a list and describes one library. The @sc{car} of the
754list is the name of the library, as a string. The rest of the list 752list is the absolute file name of the library, as a string. The rest
755elements have these forms: 753of the list elements have these forms:
756 754
757@table @code 755@table @code
758@item @var{var} 756@item @var{var}