From: Lars Magne Ingebrigtsen Date: Thu, 29 Jan 2015 09:20:48 +0000 (+0000) Subject: lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed X-Git-Tag: emacs-25.0.90~2572^2~27 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/cfb188718998d2bfbbee17567c9527a20518547f lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 3927f090d7..e4818d44a1 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 e619c0f13c..0fe2bb5872 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