2001-04-10 Simon Josefsson <simon@josefsson.org>
authorSimon Josefsson <jas@extundo.com>
Tue, 10 Apr 2001 15:12:44 +0000 (15:12 +0000)
committerSimon Josefsson <jas@extundo.com>
Tue, 10 Apr 2001 15:12:44 +0000 (15:12 +0000)
* message.el (message-options-set-recipient): Look at Cc and Bcc too.

lisp/ChangeLog
lisp/message.el

index 62c4f0d..a40a9a0 100644 (file)
@@ -1,3 +1,7 @@
+2001-04-10  Simon Josefsson  <simon@josefsson.org>
+
+       * message.el (message-options-set-recipient): Look at Cc and Bcc too.
+
 2001-04-10  Colin Marquardt <colin.marquardt@usa.alcatel.com>
 
        * message.el (message-send-mail): Improve the interaction with the
index b7f725f..a60aa16 100644 (file)
@@ -4919,8 +4919,11 @@ regexp varstr."
                         (mail-strip-quoted-names
                          (message-fetch-field "from")))
     (message-options-set 'message-recipients
-                         (mail-strip-quoted-names
-                          (message-fetch-field "to")))))
+                        (mail-strip-quoted-names
+                         (concat
+                          (or (message-fetch-field "to") "") ", "
+                          (or (message-fetch-field "cc") "") ", "
+                          (or (message-fetch-field "bcc") ""))))))
 
 (when (featurep 'xemacs)
   (require 'messagexmas)