changeset 98028:59193c0c60a3

(Where Defined): Fix description of symbol-file.
author Martin Rudalics <rudalics@gmx.at>
date Sat, 06 Sep 2008 10:05:08 +0000
parents 09c6e6a81b84
children 9d3339355453
files doc/lispref/loading.texi
diffstat 1 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/lispref/loading.texi	Sat Sep 06 10:02:33 2008 +0000
+++ b/doc/lispref/loading.texi	Sat Sep 06 10:05:08 2008 +0000
@@ -798,12 +798,15 @@
 
 @defun symbol-file symbol &optional type
 This function returns the name of the file that defined @var{symbol}.
-If @var{type} is @code{nil}, then any kind of definition is
-acceptable.  If @var{type} is @code{defun} or @code{defvar}, that
-specifies function definition only or variable definition only.
+If @var{type} is @code{nil}, then any kind of definition is acceptable.
+If @var{type} is @code{defun}, @code{defvar}, or @code{defface}, that
+specifies function definition, variable definition, or face definition
+only.
 
-The value is normally an absolute file name.  It can also be
-@code{nil}, if the definition is not associated with any file.
+The value is normally an absolute file name.  It can also be @code{nil},
+if the definition is not associated with any file.  If @var{symbol}
+specifies an autoloaded function, the value can be a relative file name
+without extension.
 @end defun
 
   The basis for @code{symbol-file} is the data in the variable