diff options
author | Karl Heuer <kwzh@gnu.org> | 1998-12-10 03:25:15 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1998-12-10 03:25:15 +0000 |
commit | e88b8369a672de0477aa45252fb4341bf45d910b (patch) | |
tree | 5681b8b5dda2b112c8007d353850eb1ff6a69c7f /lisp/loadhist.el | |
parent | 12b0f4514ba7b52219fb25db3a820387984cd701 (diff) | |
download | emacs-e88b8369a672de0477aa45252fb4341bf45d910b.tar.gz |
(load-history-loaded): defvar moved to help.el.
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r-- | lisp/loadhist.el | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index ffa279d6d27..47863f06d0a 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el @@ -31,33 +31,6 @@ ;;; Code: -(defvar load-history-loaded nil - "Non-nil means we have loaded the file `fns-VERSION.el' in `exec-directory'. -That file records the part of `load-history' for preloaded files, -which is cleared out before dumping to make Emacs smaller.") - -(defun symbol-file (sym) - "Return the input source from which SYM was loaded. -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. - (if (eq system-type 'ms-dos) - "fns.el" - (format "fns-%s.el" emacs-version)) - exec-directory) - ;; The file name fns-%s.el already has a .el extension. - nil nil t) - (setq load-history-loaded t)) - (catch 'foundit - (mapcar - (function (lambda (x) (if (memq sym (cdr x)) (throw 'foundit (car x))))) - load-history) - nil)) - (defun feature-symbols (feature) "Return the file and list of symbols associated with a given FEATURE." (catch 'foundit |