summaryrefslogtreecommitdiff
path: root/lisp/loadhist.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-11-29 16:39:38 +0000
committerRichard M. Stallman <rms@gnu.org>1998-11-29 16:39:38 +0000
commit5106ed5f9ceead3f4e035c6a1d495e16469ddbad (patch)
treeeda5e847de77213b142c4c65b45722b66046e648 /lisp/loadhist.el
parentabf16d5ee927e3efb2d777f8246cc61121a85121 (diff)
downloademacs-5106ed5f9ceead3f4e035c6a1d495e16469ddbad.tar.gz
(symbol-file): Doc fix.
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r--lisp/loadhist.el5
1 files changed, 4 insertions, 1 deletions
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.