Mercurial > emacs
changeset 47015:7faae7c35e07
(symbol-file-load-history-loaded)
(load-symbol-file-load-history): Deleted.
(symbol-file): Don't call load-symbol-file-load-history.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 24 Aug 2002 02:58:53 +0000 |
parents | 39b2e060a7f0 |
children | 876e9026e464 |
files | lisp/subr.el |
diffstat | 1 files changed, 19 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Sat Aug 24 02:57:31 2002 +0000 +++ b/lisp/subr.el Sat Aug 24 02:58:53 2002 +0000 @@ -892,25 +892,25 @@ ;;; Load history -(defvar symbol-file-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.") +;;; (defvar symbol-file-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 load-symbol-file-load-history () - "Load the file `fns-VERSION.el' in `exec-directory' if not already done. -That file records the part of `load-history' for preloaded files, -which is cleared out before dumping to make Emacs smaller." - (unless symbol-file-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 symbol-file-load-history-loaded t))) +;;; (defun load-symbol-file-load-history () +;;; "Load the file `fns-VERSION.el' in `exec-directory' if not already done. +;;; That file records the part of `load-history' for preloaded files, +;;; which is cleared out before dumping to make Emacs smaller." +;;; (unless symbol-file-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 symbol-file-load-history-loaded t))) (defun symbol-file (function) "Return the input source from which FUNCTION was loaded. @@ -918,7 +918,7 @@ 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." - (load-symbol-file-load-history) +;;; (load-symbol-file-load-history) (let ((files load-history) file functions) (while files