From d632fb82ffc5a48ea42cfe182de83feed4b844ab Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Sat, 6 Sep 2008 10:05:45 +0000 Subject: [PATCH] (Where Defined): Fix description of symbol-file. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/loading.texi | 15 +++++++++------ 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 @@ +2008-09-06 Martin Rudalics + + * loading.texi (Where Defined): Fix description of symbol-file. + 2008-08-26 Jason Rumney * 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 @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. - -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{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. 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 -- 2.39.5