]> git.eshelyaron.com Git - emacs.git/commitdiff
(symbol-file): Load fns-*.el from exec-directory
authorAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 09:53:51 +0000 (09:53 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 09:53:51 +0000 (09:53 +0000)
instead of data-directory since it is architecture dependent.
(load-history-loaded): Update doc string.

lisp/loadhist.el

index 5cebf2d63c4d0800439c879eed0084c10ca6a7eb..419fe6c135a70f83f74c4f31ea976fd0b0ce449d 100644 (file)
@@ -32,7 +32,7 @@
 ;;; Code:
 
 (defvar load-history-loaded nil
-  "Non-nil means we have loaded the file `etc/fns-VERSION.el'.
+  "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.")
 
@@ -41,7 +41,7 @@ which is cleared out before dumping to make Emacs smaller.")
 This is a file name, or nil if the source was a buffer with no associated file."
   (unless load-history-loaded
     (load (expand-file-name (format "fns-%s.el" emacs-version)
-                           data-directory))
+                           exec-directory))
     (setq load-history-loaded t))
   (catch 'foundit
     (mapcar