aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gnus/ChangeLog6
-rw-r--r--lisp/gnus/gnus-group.el5
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ff3d7e3ce13..23fa5f7e828 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,9 @@
12009-12-02 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-group.el (gnus-group-prepare-flat): Check also whether groups
4 with no unread article should be listed if the 2nd arg `predicate' is
5 given.
6
12009-11-29 Juri Linkov <juri@jurta.org> 72009-11-29 Juri Linkov <juri@jurta.org>
2 8
3 * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom' 9 * gnus-sum.el (gnus-recenter): Use `recenter-top-bottom'
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 4a7f06833a3..7b3296ad1cb 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -1372,7 +1372,8 @@ if it is a string, only list groups matching REGEXP."
1372 (setq not-in-list (delete group not-in-list))) 1372 (setq not-in-list (delete group not-in-list)))
1373 (when (gnus-group-prepare-logic 1373 (when (gnus-group-prepare-logic
1374 group 1374 group
1375 (and unread ; This group might be unchecked 1375 (and (or unread ; This group might be unchecked
1376 predicate) ; Check if this group should be listed
1376 (or (not (stringp regexp)) 1377 (or (not (stringp regexp))
1377 (string-match regexp group)) 1378 (string-match regexp group))
1378 (<= (setq clevel (gnus-info-level info)) level) 1379 (<= (setq clevel (gnus-info-level info)) level)
@@ -1386,7 +1387,7 @@ if it is a string, only list groups matching REGEXP."
1386 (if (eq unread t) ; Unactivated? 1387 (if (eq unread t) ; Unactivated?
1387 gnus-group-list-inactive-groups 1388 gnus-group-list-inactive-groups
1388 ; We list unactivated 1389 ; We list unactivated
1389 (> unread 0)) 1390 (and (numberp unread) (> unread 0)))
1390 ; We list groups with unread articles 1391 ; We list groups with unread articles
1391 (and gnus-list-groups-with-ticked-articles 1392 (and gnus-list-groups-with-ticked-articles
1392 (cdr (assq 'tick (gnus-info-marks info)))) 1393 (cdr (assq 'tick (gnus-info-marks info))))