aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/loading.texi
diff options
context:
space:
mode:
authorMartin Rudalics2008-09-06 10:05:45 +0000
committerMartin Rudalics2008-09-06 10:05:45 +0000
commitd632fb82ffc5a48ea42cfe182de83feed4b844ab (patch)
treef7c6e84f5054eef4921a9de49c3ce8b9cdf1c200 /doc/lispref/loading.texi
parent37fda77e2df38df6812f276fc91fe161ca0d358b (diff)
downloademacs-d632fb82ffc5a48ea42cfe182de83feed4b844ab.tar.gz
emacs-d632fb82ffc5a48ea42cfe182de83feed4b844ab.zip
(Where Defined): Fix description of symbol-file.
Diffstat (limited to 'doc/lispref/loading.texi')
-rw-r--r--doc/lispref/loading.texi15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index cf7373c8edd..ce471ac7c38 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -798,12 +798,15 @@ with a call to @code{provide}. The order of the elements in the
798 798
799@defun symbol-file symbol &optional type 799@defun symbol-file symbol &optional type
800This function returns the name of the file that defined @var{symbol}. 800This function returns the name of the file that defined @var{symbol}.
801If @var{type} is @code{nil}, then any kind of definition is 801If @var{type} is @code{nil}, then any kind of definition is acceptable.
802acceptable. If @var{type} is @code{defun} or @code{defvar}, that 802If @var{type} is @code{defun}, @code{defvar}, or @code{defface}, that
803specifies function definition only or variable definition only. 803specifies function definition, variable definition, or face definition
804 804only.
805The value is normally an absolute file name. It can also be 805
806@code{nil}, if the definition is not associated with any file. 806The value is normally an absolute file name. It can also be @code{nil},
807if the definition is not associated with any file. If @var{symbol}
808specifies an autoloaded function, the value can be a relative file name
809without extension.
807@end defun 810@end defun
808 811
809 The basis for @code{symbol-file} is the data in the variable 812 The basis for @code{symbol-file} is the data in the variable