(gnus-summary-insert-old-articles): Don't include unexistent messages.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 10 Jun 2012 20:50:36 +0000 (22:50 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 10 Jun 2012 20:50:36 +0000 (22:50 +0200)
lisp/ChangeLog
lisp/gnus-sum.el

index 9b25914..48991ed 100644 (file)
@@ -2,6 +2,7 @@
 
        * gnus-sum.el (gnus-summary-limit-to-author): Use the current From
        address as the default.
+       (gnus-summary-insert-old-articles): Don't include unexistent messages.
 
        * nnfolder.el (nnfolder-save-buffer): Delete old versions silently.  It
        makes no sense to query the user about internal files.
index c75585d..afc0231 100644 (file)
@@ -12856,7 +12856,9 @@ If ALL is a number, fetch this number of articles."
              ;; Some nntp servers lie about their active range.  When
              ;; this happens, the active range can be in the millions.
              ;; Use a compressed range to avoid creating a huge list.
-             (gnus-range-difference (list gnus-newsgroup-active) old))
+             (gnus-range-difference
+              (gnus-range-difference (list gnus-newsgroup-active) old)
+              gnus-newsgroup-unexist))
        (setq len (gnus-range-length older))
        (cond
         ((null older) nil)