diff options
| author | Richard M. Stallman | 1996-02-12 01:17:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-12 01:17:15 +0000 |
| commit | 521736d11c699e81fc47760fd4471d142abbafb6 (patch) | |
| tree | cba0529f7feff407938531333e813f2c4c0f1ec4 | |
| parent | 36457345c7ce4d93876ac2cc922cff9af88cc53c (diff) | |
| download | emacs-521736d11c699e81fc47760fd4471d142abbafb6.tar.gz emacs-521736d11c699e81fc47760fd4471d142abbafb6.zip | |
(command-line): On windows NT, look for .emacs or _emacs.
| -rw-r--r-- | lisp/startup.el | 4 |
1 files changed, 3 insertions, 1 deletions
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.") | |||
| 566 | ((eq system-type 'ms-dos) | 566 | ((eq system-type 'ms-dos) |
| 567 | (concat "~" init-file-user "/_emacs")) | 567 | (concat "~" init-file-user "/_emacs")) |
| 568 | ((eq system-type 'windows-nt) | 568 | ((eq system-type 'windows-nt) |
| 569 | "~/_emacs") | 569 | (if (file-exists-p "~/.emacs") |
| 570 | "~/.emacs" | ||
| 571 | "~/_emacs")) | ||
| 570 | ((eq system-type 'vax-vms) | 572 | ((eq system-type 'vax-vms) |
| 571 | "sys$login:.emacs") | 573 | "sys$login:.emacs") |
| 572 | (t | 574 | (t |