From: Richard M. Stallman Date: Mon, 12 Feb 1996 01:17:15 +0000 (+0000) Subject: (command-line): On windows NT, look for .emacs or _emacs. X-Git-Tag: emacs-19.34~1311 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=521736d11c699e81fc47760fd4471d142abbafb6;p=emacs.git (command-line): On windows NT, look for .emacs or _emacs. --- diff --git a/lisp/startup.el b/lisp/startup.el index 4ef04665b70..449c6d9d145 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -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