(gnus-summary-catchup): Make sure downloadable,
[gnus] / lisp / gnus-sum.el
index f8594da..1065258 100644 (file)
@@ -9977,7 +9977,9 @@ The number of articles marked as read is returned."
                  (setq gnus-newsgroup-marked nil
                        gnus-newsgroup-spam-marked nil
                        gnus-newsgroup-dormant nil))
-               (setq gnus-newsgroup-unreads gnus-newsgroup-downloadable))
+               (setq gnus-newsgroup-unreads
+                     (gnus-intersection gnus-newsgroup-unreads
+                                        gnus-newsgroup-downloadable)))
            ;; We actually mark all articles as canceled, which we
            ;; have to do when using auto-expiry or adaptive scoring.
            (gnus-summary-show-all-threads)