[gnus git] branch master updated: m0-11-131-g062698a =1= nnimap group activation problems fixed

Lars <[email protected]> Thu, 29 Jan 2015 09:09:16 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  062698a34df9fd679229f7dea14cfaaf408f87de (commit)
      from  0bbcee7a4167d9e2bedea87e5816f212a8195a04 (commit)


- Log -----------------------------------------------------------------
commit 062698a34df9fd679229f7dea14cfaaf408f87de
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Thu Jan 29 19:09:00 2015 +1100

    nnimap group activation problems fixed
    
    * nnimap.el (nnimap-request-group): Allow running this function on
    groups that don't exist in Gnus yet.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 17f703d..4a54d30 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2015-01-29  Lars Ingebrigtsen  <[email protected]>
 
+	* 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/nnimap.el b/lisp/nnimap.el
index e619c0f..0fe2bb5 100644
--- a/lisp/nnimap.el
+++ b/lisp/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)
+	(when (and info
+		   (or (not dont-check)
 		       (not (setq active
-			     (nth 2 (assoc group nnimap-current-infos)))))
+				  (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

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    3 +++
 lisp/nnimap.el |    7 ++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project