(gnus-get-unread-articles): Fix up the last commit.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 5 Sep 2010 22:48:11 +0000 (00:48 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 5 Sep 2010 22:48:11 +0000 (00:48 +0200)
lisp/ChangeLog
lisp/gnus-start.el

index 31698f6..7c71b06 100644 (file)
@@ -2,6 +2,7 @@
 
        * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
        that aren't going to be activated.
 
        * gnus-start.el (gnus-get-unread-articles): Don't bother with groups
        that aren't going to be activated.
+       (gnus-get-unread-articles): Fix up the last commit.
 
        * gnus-html.el (gnus-article-html): Allow calling without specifying
        the handle.  In that case, dissect the buffer first.
 
        * gnus-html.el (gnus-article-html): Allow calling without specifying
        the handle.  In that case, dissect the buffer first.
index e7e4dfd..3bdcb05 100644 (file)
@@ -1736,7 +1736,7 @@ If SCAN, request a scan of that group as well."
              type-cache))
       ;; Only add groups that need updating.
       (when (<= (gnus-info-level info)
              type-cache))
       ;; Only add groups that need updating.
       (when (<= (gnus-info-level info)
-               (if (eq method-type 'foreign)
+               (if (eq (cadr method-group-list) 'foreign)
                    foreign-level
                  alevel))
        (setcar (nthcdr 2 method-group-list)
                    foreign-level
                  alevel))
        (setcar (nthcdr 2 method-group-list)