summaryrefslogtreecommitdiff
path: root/lisp
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
commit0b4fb2e1b40ce4df0d19be705a84037005e9dc75 (patch)
tree984f17f6b6dc7a521ac37598a0f127066076ddb3 /lisp
parenta463eca34c7f186ec887da868c30312fc547bc87 (diff)
downloademacs-0b4fb2e1b40ce4df0d19be705a84037005e9dc75.tar.gz
(symbol-file): For ms-dos, use fns.el without the
version string.
Diffstat (limited to 'lisp')
-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)