changeset 23664:bf72d6351f29

(symbol-file): Run fns-VERSION.el through convert-standard-filename.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 08 Nov 1998 17:24:16 +0000
parents ba5feaac00b1
children 53553d8b253e
files lisp/loadhist.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/loadhist.el	Sun Nov 08 17:23:52 1998 +0000
+++ b/lisp/loadhist.el	Sun Nov 08 17:24:16 1998 +0000
@@ -40,8 +40,12 @@
   "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