(gnus-agent-fetch-headers): Don't message if we're not downloading anything.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 29 Mar 2011 18:09:22 +0000 (20:09 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Tue, 29 Mar 2011 18:09:22 +0000 (20:09 +0200)
lisp/ChangeLog
lisp/gnus-agent.el

index dfacf5e..dfd7a34 100644 (file)
@@ -1,5 +1,8 @@
 2011-03-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-agent.el (gnus-agent-fetch-headers): Don't message if we're not
+       downloading anything.
+
        * gnus.el (gnus-splash-svg-color-symbols): Removed superfluous `and'.
 
 2011-03-29  Adam Sjøgren  <asjo@koldfront.dk>
index 989488c..52fbe9d 100644 (file)
@@ -1925,9 +1925,10 @@ article numbers will be returned."
             (setq articles (gnus-list-range-intersection
                             articles (list (cons low high)))))))
 
-      (gnus-message
-       10 "gnus-agent-fetch-headers: undownloaded articles are '%s'"
-       (gnus-compress-sequence articles t))
+      (when articles
+       (gnus-message
+        10 "gnus-agent-fetch-headers: undownloaded articles are '%s'"
+        (gnus-compress-sequence articles t)))
 
       (with-current-buffer nntp-server-buffer
         (if articles