changeset 14549:fe6846ee5999

(command-line): On windows NT, look for .emacs or _emacs.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 Feb 1996 01:17:15 +0000
parents b94ba0bf8b7c
children 2c5fedd784b2
files lisp/startup.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Sun Feb 11 23:44:54 1996 +0000
+++ b/lisp/startup.el	Mon Feb 12 01:17:15 1996 +0000
@@ -566,7 +566,9 @@
 			   ((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