* gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for
authorAndrew Cohen <cohen@andy.bu.edu>
Fri, 26 Apr 2013 01:29:37 +0000 (21:29 -0400)
committerAndrew Cohen <cohen@andy.bu.edu>
Fri, 26 Apr 2013 01:29:37 +0000 (21:29 -0400)
string values of 'gcc-self.

lisp/ChangeLog
lisp/gnus-msg.el

index 6004e8b..36c9137 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-25  Andrew Cohen  <cohen@bu.edu>
+
+       * gnus-msg.el (gnus-inews-insert-gcc): Re-order conditional to work for
+       string values of 'gcc-self. Thanks to Saroj Thirumalai.
+
 2013-04-24  Andrew Cohen  <cohen@bu.edu>
 
        * nnir.el (nnir-close-group): Make sure we are in the right group.
index 362dd3e..fce9a36 100644 (file)
@@ -1719,8 +1719,8 @@ this is a reply."
          (group (when group (gnus-group-decoded-name group)))
          (var (or gnus-outgoing-message-group gnus-message-archive-group))
         (gcc-self-val
-         (and group (gnus-group-find-parameter group 'gcc-self)
-              (not (gnus-virtual-group-p group))))
+         (and group (not (gnus-virtual-group-p group))
+              (gnus-group-find-parameter group 'gcc-self)))
         result
         (groups
          (cond