]> git.eshelyaron.com Git - emacs.git/commitdiff
(command-line): On windows NT, look for .emacs or _emacs.
authorRichard M. Stallman <rms@gnu.org>
Mon, 12 Feb 1996 01:17:15 +0000 (01:17 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 12 Feb 1996 01:17:15 +0000 (01:17 +0000)
lisp/startup.el

index 4ef04665b706c4b9d2bacd72a94d090341298433..449c6d9d145a546a2c316bfc8104729b4f8f7dd8 100644 (file)
@@ -566,7 +566,9 @@ from being initialized.")
                           ((eq system-type 'ms-dos)
                            (concat "~" init-file-user "/_emacs"))
                           ((eq system-type 'windows-nt)
-                           "~/_emacs")
+                           (if (file-exists-p "~/.emacs") 
+                               "~/.emacs"
+                             "~/_emacs"))
                           ((eq system-type 'vax-vms) 
                            "sys$login:.emacs")
                           (t