Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] Fix ham copying (inverted logic)
@ 2003-04-01 22:47 Michael Shields
  0 siblings, 0 replies; only message in thread
From: Michael Shields @ 2003-04-01 22:47 UTC (permalink / raw)


Ham copying is broken (inactive) since 2003-03-18 because of a small
mistake.  Patch below.


lisp/ChangeLog addition:

2003-04-01  Michael Shields  <shields@msrl.com>

	* spam.el (spam-ham-move-routine): Use spam-group-ham-mark-p, not
	spam-group-spam-mark-p.


gnus source patch:
Diff command:   cvs -q diff -u
Files affected: lisp/spam.el

Index: lisp/spam.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/spam.el,v
retrieving revision 6.87
diff -u -r6.87 spam.el
--- lisp/spam.el	19 Mar 2003 23:05:57 -0000	6.87
+++ lisp/spam.el	1 Apr 2003 22:46:54 -0000
@@ -473,8 +473,8 @@
     (when (stringp group)		; this routine will do nothing
 					; without a valid group
       (dolist (article articles)
-	(when (spam-group-spam-mark-p gnus-newsgroup-name
-				      (gnus-summary-article-mark article))
+	(when (spam-group-ham-mark-p gnus-newsgroup-name
+				     (gnus-summary-article-mark article))
 	  (push article tomove)))
 
       ;; now do the actual move

-- 
Shields.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-01 22:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-01 22:47 [PATCH] Fix ham copying (inverted logic) Michael Shields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).