(spam-mark-spam-as-expired-and-move-routine): ditto, use the process-mark
authorTeodor Zlatanov <tzz@lifelogs.com>
Tue, 11 Feb 2003 20:37:12 +0000 (20:37 +0000)
committerTeodor Zlatanov <tzz@lifelogs.com>
Tue, 11 Feb 2003 20:37:12 +0000 (20:37 +0000)
lisp/ChangeLog
lisp/spam.el

index 7c0b98d..7da1a7f 100644 (file)
@@ -2,6 +2,7 @@
 
        * spam.el (spam-ham-move-routine): use the process-mark instead of
        gnus-current-article when moving articles
+       (spam-mark-spam-as-expired-and-move-routine): ditto, use the process-mark
 
 2003-02-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
index d39a946..6b24e49 100644 (file)
@@ -421,8 +421,8 @@ your main source of newsgroup names."
       (when (eq (gnus-summary-article-mark article) gnus-spam-mark)
        (gnus-summary-mark-article article gnus-expirable-mark)
        (when (stringp group)
-         (let ((gnus-current-article article))
-           (gnus-summary-move-article nil group)))))))
+         (gnus-summary-set-process-mark article)
+         (gnus-summary-move-article nil group))))))
  
 (defun spam-ham-move-routine (&optional group)
   (let ((articles gnus-newsgroup-articles)