1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00

(Where Defined): Fix description of symbol-file.

This commit is contained in:
Martin Rudalics 2008-09-06 10:05:45 +00:00
parent 37fda77e2d
commit d632fb82ff
2 changed files with 12 additions and 5 deletions

View file

@ -1,3 +1,7 @@
2008-09-06 Martin Rudalics <rudalics@gmx.at>
* loading.texi (Where Defined): Fix description of symbol-file.
2008-08-26 Jason Rumney <jasonr@gnu.org>
* display.texi (TIFF Images): New section describing :index property.

View file

@ -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.
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