diff options
| -rw-r--r-- | lisp/add-log.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 721ef24ccfd..6980578c68a 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -43,10 +43,9 @@ This defaults to the value returned by the `user-full-name' function.") | |||
| 43 | 43 | ||
| 44 | ;; This MUST not be autoloaded, since user-login-name | 44 | ;; This MUST not be autoloaded, since user-login-name |
| 45 | ;; cannot be known at Emacs dump time. | 45 | ;; cannot be known at Emacs dump time. |
| 46 | (defvar add-log-mailing-address (concat (user-login-name) "@" (system-name)) | 46 | (defvar add-log-mailing-address user-mail-address |
| 47 | "*Electronic mail address of user, for inclusion in ChangeLog daily headers. | 47 | "*Electronic mail address of user, for inclusion in ChangeLog daily headers. |
| 48 | This defaults to the value returned by `user-login-name', followed by | 48 | This defaults to the value of `user-mail-address'.") |
| 49 | an `@' character, followed by the value returned by `system-name'.") | ||
| 50 | 49 | ||
| 51 | (defun change-log-name () | 50 | (defun change-log-name () |
| 52 | (or change-log-default-name | 51 | (or change-log-default-name |