summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-10 21:20:18 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-10 21:20:18 +0000
commit0253e9135236e56622f6f3f990fb9ea3c4d95f5b (patch)
tree09a99c8c8cf061f84000ef79df51dd44731b440d
parenta2fea1ab5c1b37dab00969ce5eef98c60cdedf09 (diff)
downloademacs-0253e9135236e56622f6f3f990fb9ea3c4d95f5b.tar.gz
On MSDOS, don't assume that `make-frame' is only bound under an X
emulator; use `x-create-frame' instead.
-rw-r--r--lisp/loadup.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 789f374378d..f4da8db8854 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -179,7 +179,7 @@
(substring name (match-end 0)))))
(if (memq system-type '(ms-dos windows-nt))
(setq name (expand-file-name
- (if (fboundp 'make-frame) "DOC-X" "DOC") "../etc"))
+ (if (fboundp 'x-create-frame) "DOC-X" "DOC") "../etc"))
(setq name (concat (expand-file-name "../etc/DOC-") name))
(if (file-exists-p name)
(delete-file name))