summaryrefslogtreecommitdiff
path: root/lisp/add-log.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-25 00:35:12 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-25 00:35:12 +0000
commitc0bcaf3e457d8f11f8550566dc9416ffdeefea84 (patch)
treefcf1b7c2dfab38c26d83f18b225268262b25053d /lisp/add-log.el
parentf59576f06c03b334cc0cc290c5b0d77935498872 (diff)
downloademacs-c0bcaf3e457d8f11f8550566dc9416ffdeefea84.tar.gz
(add-log-mailing-address): Use user-mail-address.
Diffstat (limited to 'lisp/add-log.el')
-rw-r--r--lisp/add-log.el5
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.")
;; This MUST not be autoloaded, since user-login-name
;; cannot be known at Emacs dump time.
-(defvar add-log-mailing-address (concat (user-login-name) "@" (system-name))
+(defvar add-log-mailing-address user-mail-address
"*Electronic mail address of user, for inclusion in ChangeLog daily headers.
-This defaults to the value returned by `user-login-name', followed by
-an `@' character, followed by the value returned by `system-name'.")
+This defaults to the value of `user-mail-address'.")
(defun change-log-name ()
(or change-log-default-name