From e838e2ac2fa90fd579fa3816fe2216f7dc662bb4 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 20 Feb 2012 09:07:54 +0000 Subject: [PATCH] gnus-msg.el: Fix bug with `C-u a' on topics (bug#10843) --- lisp/gnus/ChangeLog | 3 +++ lisp/gnus/gnus-msg.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 387693f9ae0..eee886ec1c2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2012-02-20 Lars Ingebrigtsen + * 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 f92dc5e91d0..bf75f94c195 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)) -- 2.39.2