From 5106ed5f9ceead3f4e035c6a1d495e16469ddbad Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 29 Nov 1998 16:39:38 +0000 Subject: [PATCH] (symbol-file): Doc fix. --- lisp/loadhist.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/loadhist.el b/lisp/loadhist.el index 2e91f24b55f..ffa279d6d27 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -38,7 +38,10 @@ which is cleared out before dumping to make Emacs smaller.") (defun symbol-file (sym) "Return the input source from which SYM was loaded. -This is a file name, or nil if the source was a buffer with no associated file." +The value is normally a string that was passed to `load': +either an absolute file name, or a library name +\(with no directory name and no `.el' or `.elc' at the end). +It can also be nil, if the definition is not associated with any file." (unless load-history-loaded (load (expand-file-name ;; fns-XX.YY.ZZ.el does not work on DOS filesystem. -- 2.39.2