From cfb188718998d2bfbbee17567c9527a20518547f Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Thu, 29 Jan 2015 09:20:48 +0000 Subject: [PATCH] lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed --- lisp/gnus/ChangeLog | 3 +++ lisp/gnus/nnimap.el | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3927f090d76..e4818d44a1c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2015-01-29 Lars Ingebrigtsen + * nnimap.el (nnimap-request-group): Allow running this function on + groups that don't exist in Gnus yet. + * message.el (message-smtpmail-send-it): Remove the mail header separator before sending. diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index e619c0f13c2..0fe2bb5872c 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -804,9 +804,10 @@ textual parts.") articles active marks high low) (with-current-buffer nntp-server-buffer (when result - (when (or (not dont-check) - (not (setq active - (nth 2 (assoc group nnimap-current-infos))))) + (when (and info + (or (not dont-check) + (not (setq active + (nth 2 (assoc group nnimap-current-infos)))))) (let ((sequences (nnimap-retrieve-group-data-early server (list info)))) (nnimap-finish-retrieve-group-infos server (list info) sequences -- 2.39.2