diff options
| author | Chong Yidong | 2005-10-30 03:57:39 +0000 |
|---|---|---|
| committer | Chong Yidong | 2005-10-30 03:57:39 +0000 |
| commit | c3ab3701f0b22efa0f2ff47fbc5909940ce0f9ea (patch) | |
| tree | c9572b4eb866dc93dfcb88d8c6835b59d878bbca | |
| parent | 27a19a634725b8ddda374bfd7fc5f9a411a59550 (diff) | |
| download | emacs-c3ab3701f0b22efa0f2ff47fbc5909940ce0f9ea.tar.gz emacs-c3ab3701f0b22efa0f2ff47fbc5909940ce0f9ea.zip | |
* startup.el (command-line): Use ~/.emacs.d/init.el instead of
~/.emacs.d/.emacs.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/startup.el | 8 |
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0a3104d95e..c60cacd1e92 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-10-29 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * startup.el (command-line): Use ~/.emacs.d/init.el instead of | ||
| 4 | ~/.emacs.d/.emacs. | ||
| 5 | |||
| 1 | 2005-10-29 Richard M. Stallman <rms@gnu.org> | 6 | 2005-10-29 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * replace.el (occur-mode-mouse-goto): Always go to other window. | 8 | * replace.el (occur-mode-mouse-goto): Always go to other window. |
diff --git a/lisp/startup.el b/lisp/startup.el index a9535eed881..000055f745d 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -850,14 +850,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 850 | 850 | ||
| 851 | (when (eq user-init-file t) | 851 | (when (eq user-init-file t) |
| 852 | ;; If we did not find ~/.emacs, try | 852 | ;; If we did not find ~/.emacs, try |
| 853 | ;; ~/.emacs.d/.emacs. | 853 | ;; ~/.emacs.d/init.el. |
| 854 | (let ((otherfile | 854 | (let ((otherfile |
| 855 | (expand-file-name | 855 | (expand-file-name |
| 856 | (file-name-nondirectory user-init-file-1) | 856 | "init" |
| 857 | (file-name-as-directory | 857 | (file-name-as-directory |
| 858 | (expand-file-name | 858 | (concat "~" init-file-user "/.emacs.d"))))) |
| 859 | ".emacs.d" | ||
| 860 | (file-name-directory user-init-file-1)))))) | ||
| 861 | (load otherfile t t) | 859 | (load otherfile t t) |
| 862 | 860 | ||
| 863 | ;; If we did not find the user's init file, | 861 | ;; If we did not find the user's init file, |