gnus-msg.el: Fix bug with `C-u a' on topics (bug#10843)
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 20 Feb 2012 09:07:54 +0000 (09:07 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 20 Feb 2012 09:07:54 +0000 (09:07 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-msg.el

index 387693f..eee886e 100644 (file)
@@ -1,5 +1,8 @@
 2012-02-20  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-msg.el (gnus-group-post-news): Don't bug out on `C-u a' on
+       topics (bug#10843).
+
        * nnimap.el (nnimap-log-command): Add the IMAP address to the log
        buffer.  Suggested by Herbert Valerio Riedel.
        (nnimap-request-move-article): Delete the message from the correct IMAP
index f92dc5e..bf75f94 100644 (file)
@@ -640,7 +640,7 @@ a news."
             (if (= 1 (prefix-numeric-value arg))
                 (gnus-group-completing-read "Newsgroup" nil
                                             (gnus-read-active-file-p))
-              (gnus-group-group-name))
+              (or (gnus-group-group-name) ""))
           ""))
        ;; make sure last viewed article doesn't affect posting styles:
        (gnus-article-copy))