(spam-summary-prepare-exit): oops, forgot (length)
authorTeodor Zlatanov <tzz@lifelogs.com>
Sat, 15 May 2004 18:36:01 +0000 (18:36 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Sat, 15 May 2004 18:36:01 +0000 (18:36 +0000)
lisp/ChangeLog
lisp/spam.el

index ec3cee1..9d377d5 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-15  Teodor Zlatanov  <tzz@lifelogs.com>
+
+       * spam.el (spam-summary-prepare-exit): oops, forgot (length)
+
 2004-05-14  Teodor Zlatanov  <tzz@lifelogs.com>
 
        * gnus-dup.el (gnus-dup-unsuppress-article): don't assume the mail
index 7577a71..8fc286d 100644 (file)
@@ -869,9 +869,9 @@ Will not return a nil score."
 
     ;; now we redo spam-mark-spam-as-expired-and-move-routine to only
     ;; expire spam, in case the above did not expire them
-    (when (< 0 (spam-list-articles
-               gnus-newsgroup-articles
-               'spam))
+    (when (< 0 (length (spam-list-articles
+                       gnus-newsgroup-articles
+                       'spam)))
       (gnus-message 6 "Marking spam as expired without moving it")
       (spam-mark-spam-as-expired-and-move-routine nil))