From: Richard M. Stallman Date: Wed, 12 Aug 1998 07:31:00 +0000 (+0000) Subject: (mail-setup): After using `fill-region-as-paragraph' X-Git-Tag: emacs-20.3~78 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c2cede3cda93df7804b3721394f65d1fa57b2a6;p=emacs.git (mail-setup): After using `fill-region-as-paragraph' on a new address field, ensure that it ends with a newline. --- 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)))