diff options
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r-- | lisp/mail/emacsbug.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 1c2f11680b6..fea7619b505 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -239,8 +239,8 @@ Prompts for bug subject. Leaves you in a mail buffer." ;; Stop message-mode stealing the properties we will add. (set (make-local-variable 'message-strip-special-text-properties) nil) ;; Make sure we default to the From: address as envelope when sending - ;; through sendmail. - (when (and (not message-sendmail-envelope-from) + ;; through sendmail. FIXME: Why? + (when (and (not (message--sendmail-envelope-from)) (message-bogus-recipient-p (message-make-address))) (set (make-local-variable 'message-sendmail-envelope-from) 'header))) (rfc822-goto-eoh) |