]> code.delx.au - gnu-emacs/commitdiff
lisp/gnus/nnimap.el (nnimap-request-group): nnimap group activation problems fixed
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 29 Jan 2015 09:20:48 +0000 (09:20 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 29 Jan 2015 09:20:48 +0000 (09:20 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 3927f090d76591b996419d49fac3c023321d58b0..e4818d44a1cc43ce5e30dccf88b0b186a44facab 100644 (file)
@@ -1,5 +1,8 @@
 2015-01-29  Lars Ingebrigtsen  <larsi@gnus.org>
 
+       * 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.
 
index e619c0f13c29dd16863ea70c291599fb0d6732f8..0fe2bb5872c6c3cf54f69029caf13084ecb9125e 100644 (file)
@@ -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