summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-08-12 07:31:00 +0000
committerRichard M. Stallman <rms@gnu.org>1998-08-12 07:31:00 +0000
commit3e197275d7ee46f4881aa061e4237f147bb8cfbd (patch)
tree7cd9c57bc3bbb0fd81418bd65279e44048b17660
parent9960e8a903c4a90a4b2cedac708d9229988ce8b4 (diff)
downloademacs-3e197275d7ee46f4881aa061e4237f147bb8cfbd.tar.gz
(mail-setup): After using `fill-region-as-paragraph'
on a new address field, ensure that it ends with a newline.
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index a79fa289373..2a196326db0 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -885,7 +885,7 @@ the user from the mailer."
;; since some systems have broken sendmails.
;; unless user has said no.
(if (memq mail-from-style '(angles parens nil))
- (list "-f" (user-login-name)))
+ (list "-f" user-mail-address))
;;; ;; Don't say "from root" if running under su.
;;; (and (equal (user-real-login-name) "root")
;;; (list "-f" (user-login-name)))