aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen <[email protected]>2012-02-20 09:07:54 +0000
committerKatsumi Yamaoka <[email protected]>2012-02-20 09:07:54 +0000
commite838e2ac2fa90fd579fa3816fe2216f7dc662bb4 (patch)
tree1947b52a71622b12c1e030bdeaa55f0bba1bfd3a
parent1e54a73bf0dd19d2b7797d1648e9ee442a5a7bf1 (diff)
gnus-msg.el: Fix bug with `C-u a' on topics (bug#10843)
-rw-r--r--lisp/gnus/ChangeLog3
-rw-r--r--lisp/gnus/gnus-msg.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 387693f9ae..eee886ec1c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,8 @@
2012-02-20 Lars Ingebrigtsen <[email protected]>
+ * 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
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index f92dc5e91d..bf75f94c19 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -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))