summaryrefslogtreecommitdiff
path: root/lisp/loadhist.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1998-11-12 11:44:53 +0000
committerEli Zaretskii <eliz@gnu.org>1998-11-12 11:44:53 +0000
commit3025dc8868560992318079416a1d9a7831da541f (patch)
tree019548f1ab01c5584506070e1c4efb290f4bdb0e /lisp/loadhist.el
parente23dcdffa69b4ffeeb8f7403e49b6aa6ca784067 (diff)
downloademacs-3025dc8868560992318079416a1d9a7831da541f.tar.gz
(symbol-file): For ms-dos, use fns.el without the
version string.
Diffstat (limited to 'lisp/loadhist.el')
-rw-r--r--lisp/loadhist.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/loadhist.el b/lisp/loadhist.el
index 8df66d3bcc9..2e91f24b55f 100644
--- a/lisp/loadhist.el
+++ b/lisp/loadhist.el
@@ -42,7 +42,9 @@ 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
;; fns-XX.YY.ZZ.el does not work on DOS filesystem.
- (convert-standard-filename (format "fns-%s.el" emacs-version))
+ (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)