changeset 110223:109e3a627792

gnus-start.el (gnus-get-unread-articles): Fix up the last commit.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 06 Sep 2010 00:48:40 +0000
parents 9def4c1af9b9
children 3d216398af49 77821d09740a
files lisp/gnus/ChangeLog lisp/gnus/gnus-start.el
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Mon Sep 06 00:44:55 2010 +0000
+++ b/lisp/gnus/ChangeLog	Mon Sep 06 00:48:40 2010 +0000
@@ -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.
--- a/lisp/gnus/gnus-start.el	Mon Sep 06 00:44:55 2010 +0000
+++ b/lisp/gnus/gnus-start.el	Mon Sep 06 00:48:40 2010 +0000
@@ -1736,7 +1736,7 @@
 	      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)