* message.el (message-setup-1): Don't call
authoryamaoka <yamaoka>
Tue, 7 Jan 2003 05:32:36 +0000 (05:32 +0000)
committeryamaoka <yamaoka>
Tue, 7 Jan 2003 05:32:36 +0000 (05:32 +0000)
 `message-use-alternative-email-as-from' if it isn't for replying.

ChangeLog
lisp/message.el

index 92d0d18..2dacf4c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-07  Keiichi Suzuki  <keiichi@nanap.org>
+
+       * lisp/message.el (message-setup-1): Don't call
+       `message-use-alternative-email-as-from' if it isn't for replying.
+
 2003-01-05  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * lisp/gnus-vers.el: T-gnus 6.15.10 revision 00.
index 025dc5f..df34c33 100644 (file)
@@ -5704,7 +5704,8 @@ are not included."
   (message-insert-signature)
   (save-restriction
     (message-narrow-to-headers)
-    (if message-alternative-emails
+    (if (and replybuffer
+            message-alternative-emails)
        (message-use-alternative-email-as-from))
     (run-hooks 'message-header-setup-hook))
   (set-buffer-modified-p nil)