changeset 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 1509bf9a54df
children 335a2045e2a3
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)))