From 521736d11c699e81fc47760fd4471d142abbafb6 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 12 Feb 1996 01:17:15 +0000 Subject: [PATCH] (command-line): On windows NT, look for .emacs or _emacs. --- lisp/startup.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2