]> git.eshelyaron.com Git - emacs.git/commitdiff
gnus-start.el (gnus-get-unread-articles): Fix up the last commit.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 6 Sep 2010 00:48:40 +0000 (00:48 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 6 Sep 2010 00:48:40 +0000 (00:48 +0000)
lisp/gnus/ChangeLog
lisp/gnus/gnus-start.el

index 8af66bde01a0a295d94b559f4f47ec537d030e54..961518b964faf7e2f4de3a3c51bbfa016c279c4e 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-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.
index e7e4dfd928e2cc36fbc071ea5c41ac70a64715eb..3bdcb05dbe53249a97d2ba8d2b2bb8f93ad4d441 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)
-               (if (eq method-type 'foreign)
+               (if (eq (cadr method-group-list) 'foreign)
                    foreign-level
                  alevel))
        (setcar (nthcdr 2 method-group-list)