Make it possible to enter nnimap groups again
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 29 Jan 2015 11:06:47 +0000 (22:06 +1100)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 29 Jan 2015 11:06:47 +0000 (22:06 +1100)
(nnimap-request-group): Revert previous patch since that made it
impossible to enter nnimap groups.

lisp/ChangeLog
lisp/nnimap.el

index 4a54d30..2de054a 100644 (file)
@@ -2,6 +2,8 @@
 
        * nnimap.el (nnimap-request-group): Allow running this function on
        groups that don't exist in Gnus yet.
+       (nnimap-request-group): Revert previous patch since that made it
+       impossible to enter nnimap groups.
 
        * message.el (message-smtpmail-send-it): Remove the mail header
        separator before sending.
index 0fe2bb5..e619c0f 100644 (file)
@@ -804,10 +804,9 @@ textual parts.")
        articles active marks high low)
     (with-current-buffer nntp-server-buffer
       (when result
-       (when (and info
-                  (or (not dont-check)
-                      (not (setq active
-                                 (nth 2 (assoc group nnimap-current-infos))))))
+       (when (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