diff options
| author | Juanma Barranquero | 2011-04-29 00:58:40 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2011-04-29 00:58:40 +0200 |
| commit | 50f845101db138cb6541be4bac9d0b31b39db033 (patch) | |
| tree | e749b6d93af9eee2b57c206d742a4df6a5312068 | |
| parent | 71edd0ec3d8f2c86673e02eb3c5b23b5bbdeeaec (diff) | |
| download | emacs-50f845101db138cb6541be4bac9d0b31b39db033.tar.gz emacs-50f845101db138cb6541be4bac9d0b31b39db033.zip | |
lisp/startup.el (command-line): Use delayed warning for "_emacs".
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/startup.el | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 835fc7287e6..58bff4e6204 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-04-28 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * startup.el (command-line): When warning about "_emacs", use a | ||
| 4 | delayed warning to allow the user to filter it out. | ||
| 5 | |||
| 1 | 2011-04-28 Deniz Dogan <deniz@dogan.se> | 6 | 2011-04-28 Deniz Dogan <deniz@dogan.se> |
| 2 | 7 | ||
| 3 | * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the | 8 | * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the |
diff --git a/lisp/startup.el b/lisp/startup.el index 3285d47f088..14f4c7829d1 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1027,10 +1027,9 @@ opening the first frame (e.g. open a connection to an X server).") | |||
| 1027 | "~/.emacs") | 1027 | "~/.emacs") |
| 1028 | ((directory-files "~" nil "^_emacs\\(\\.elc?\\)?$") | 1028 | ((directory-files "~" nil "^_emacs\\(\\.elc?\\)?$") |
| 1029 | ;; Also support _emacs for compatibility, but warn about it. | 1029 | ;; Also support _emacs for compatibility, but warn about it. |
| 1030 | (display-warning | 1030 | (push '(initialization |
| 1031 | 'initialization | 1031 | "`_emacs' init file is deprecated, please use `.emacs'") |
| 1032 | "`_emacs' init file is deprecated, please use `.emacs'" | 1032 | delayed-warnings-list) |
| 1033 | :warning) | ||
| 1034 | "~/_emacs") | 1033 | "~/_emacs") |
| 1035 | (t ;; But default to .emacs if _emacs does not exist. | 1034 | (t ;; But default to .emacs if _emacs does not exist. |
| 1036 | "~/.emacs")))) | 1035 | "~/.emacs")))) |