]> git.eshelyaron.com Git - emacs.git/commitdiff
(symbol-file): Run fns-VERSION.el through
authorEli Zaretskii <eliz@gnu.org>
Sun, 8 Nov 1998 17:24:16 +0000 (17:24 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 8 Nov 1998 17:24:16 +0000 (17:24 +0000)
convert-standard-filename.

lisp/loadhist.el

index 419fe6c135a70f83f74c4f31ea976fd0b0ce449d..8df66d3bcc97306299d13d1d57257655e8f0a1ac 100644 (file)
@@ -40,8 +40,12 @@ which is cleared out before dumping to make Emacs smaller.")
   "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."
   (unless load-history-loaded
-    (load (expand-file-name (format "fns-%s.el" emacs-version)
-                           exec-directory))
+    (load (expand-file-name
+          ;; fns-XX.YY.ZZ.el does not work on DOS filesystem.
+          (convert-standard-filename (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