summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el
index ef3df2ffd1e..1804f0b0cc1 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -5400,8 +5400,10 @@ group."
(- (1+ (cdr active)) (car active)))))
(gnus-summary-read-group
group (or all (and (numberp number)
- (zerop (+ number (length (cdr (assq 'tick marked)))
- (length (cdr (assq 'dormant marked)))))))
+ (zerop (+ number (gnus-range-length
+ (cdr (assq 'tick marked)))
+ (gnus-range-length
+ (cdr (assq 'dormant marked)))))))
no-article)))
(defun gnus-group-select-group (&optional all)