aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-25 00:35:12 +0000
committerRichard M. Stallman1994-06-25 00:35:12 +0000
commitfb38ca867d26fa7aa524879fa63efef00d53e2d9 (patch)
tree5ccb055305d1daf84dcc4fd1e620678d420fe637
parentc10d1f062efd64e5f1a8aa799e2b4feb68483667 (diff)
downloademacs-fb38ca867d26fa7aa524879fa63efef00d53e2d9.tar.gz
emacs-fb38ca867d26fa7aa524879fa63efef00d53e2d9.zip
(add-log-mailing-address): Use user-mail-address.
-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.")
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.
48This defaults to the value returned by `user-login-name', followed by 48This defaults to the value of `user-mail-address'.")
49an `@' 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