aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2008-09-06 10:05:45 +0000
committerMartin Rudalics2008-09-06 10:05:45 +0000
commitd632fb82ffc5a48ea42cfe182de83feed4b844ab (patch)
treef7c6e84f5054eef4921a9de49c3ce8b9cdf1c200
parent37fda77e2df38df6812f276fc91fe161ca0d358b (diff)
downloademacs-d632fb82ffc5a48ea42cfe182de83feed4b844ab.tar.gz
emacs-d632fb82ffc5a48ea42cfe182de83feed4b844ab.zip
(Where Defined): Fix description of symbol-file.
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/loading.texi15
2 files changed, 13 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index b553cab9db2..a6c6ebf7a1b 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12008-09-06 Martin Rudalics <rudalics@gmx.at>
2
3 * loading.texi (Where Defined): Fix description of symbol-file.
4
12008-08-26 Jason Rumney <jasonr@gnu.org> 52008-08-26 Jason Rumney <jasonr@gnu.org>
2 6
3 * display.texi (TIFF Images): New section describing :index property. 7 * display.texi (TIFF Images): New section describing :index property.
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