736 |
acceptable. If @var{type} is @code{defun} or @code{defvar}, that |
acceptable. If @var{type} is @code{defun} or @code{defvar}, that |
737 |
specifies function definition only or variable definition only. |
specifies function definition only or variable definition only. |
738 |
|
|
739 |
The value is the file name as it was specified to @code{load}: |
The value is normally an absolute file name. It can also be |
740 |
either an absolute file name, or a library name |
@code{nil}, if the definition is not associated with any file. |
|
(with no directory name and no @samp{.el} or @samp{.elc} at the end). |
|
|
It can also be @code{nil}, if the definition is not associated with any file. |
|
741 |
@end defun |
@end defun |
742 |
|
|
743 |
The basis for @code{symbol-file} is the data in the variable |
The basis for @code{symbol-file} is the data in the variable |
744 |
@code{load-history}. |
@code{load-history}. |
745 |
|
|
746 |
@defvar load-history |
@defvar load-history |
747 |
This variable's value is an alist connecting library names with the |
This variable's value is an alist connecting library file names with the |
748 |
names of functions and variables they define, the features they provide, |
names of functions and variables they define, the features they provide, |
749 |
and the features they require. |
and the features they require. |
750 |
|
|
751 |
Each element is a list and describes one library. The @sc{car} of the |
Each element is a list and describes one library. The @sc{car} of the |
752 |
list is the name of the library, as a string. The rest of the list |
list is the absolute file name of the library, as a string. The rest |
753 |
elements have these forms: |
of the list elements have these forms: |
754 |
|
|
755 |
@table @code |
@table @code |
756 |
@item @var{var} |
@item @var{var} |