Mercurial > emacs
diff lisp/mail/sendmail.el @ 23001:c42d28898577
(mail-setup): After using `fill-region-as-paragraph'
on a new address field, ensure that it ends with a newline.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 12 Aug 1998 07:31:00 +0000 |
parents | 7be798773f85 |
children | d4ab4affb26d |
line wrap: on
line diff
--- a/lisp/mail/sendmail.el Wed Aug 12 02:58:02 1998 +0000 +++ b/lisp/mail/sendmail.el Wed Aug 12 07:31:00 1998 +0000 @@ -885,7 +885,7 @@ ;; 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)))