]> code.delx.au - gnu-emacs/commitdiff
On MSDOS, don't assume that `make-frame' is only bound under an X
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:20:18 +0000 (21:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:20:18 +0000 (21:20 +0000)
emulator; use `x-create-frame' instead.

lisp/loadup.el

index 789f374378de2df8eae158448891f6e77c775d67..f4da8db88543b9486655ece52277d21d4371f26d 100644 (file)
                           (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))