Synch to No Gnus 200405151836.
authoryamaoka <yamaoka>
Sun, 16 May 2004 00:38:35 +0000 (00:38 +0000)
committeryamaoka <yamaoka>
Sun, 16 May 2004 00:38:35 +0000 (00:38 +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 39a6748..1634027 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))