Commit 753a134f authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

On MSDOS, don't assume that `make-frame' is only bound under an X

emulator; use `x-create-frame' instead.
parent 9000684d
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment