`C-x m' on a non-group line fixup
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 12 Apr 2012 18:34:56 +0000 (20:34 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 12 Apr 2012 18:35:12 +0000 (20:35 +0200)
* gnus-msg.el (gnus-inews-insert-gcc): Don't do the alist stuff when we
don't have a current group.

lisp/ChangeLog
lisp/gnus-msg.el

index 9f2a010..b984df7 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * gnus-msg.el (gnus-inews-insert-gcc): Don't do the alist stuff when we
+       don't have a current group.
+
 2012-04-11  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        pgg-def.el, pgg-gpg.el, pgg-parse.el, pgg-pgp.el, pgg-pgp5.el, pgg.el:
index 507f040..815bd9e 100644 (file)
@@ -1664,7 +1664,7 @@ this is a reply."
           ((functionp var)
            ;; A function.
            (funcall var group))
-          (t
+          (group
            ;; An alist of regexps/functions/forms.
            (while (and var
                        (not