Gnus development mailing list
 help / color / mirror / Atom feed
* FIX: spam-summary-prepare-exit
@ 2004-04-19 13:17 Johan Bockgård
  2004-04-21 15:41 ` Ted Zlatanov
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Bockgård @ 2004-04-19 13:17 UTC (permalink / raw)



Remove `not'.

(Also, "Marking spam as expired and moving it to %s" is wrong;
`gnus-newsgroup-name' is the from-group, not the to-group. I did not
change this.)


Index: lisp/spam.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/spam.el,v
retrieving revision 7.29
diff -u -r7.29 spam.el
--- lisp/spam.el	16 Apr 2004 18:50:41 -0000	7.29
+++ lisp/spam.el	19 Apr 2004 13:04:31 -0000
@@ -745,7 +745,7 @@
 	  (spam-register-routine classification check))))
 
     (unless (and spam-move-spam-nonspam-groups-only
-		 (not (spam-group-spam-contents-p gnus-newsgroup-name)))
+		 (spam-group-spam-contents-p gnus-newsgroup-name))
       (gnus-message 5 "Marking spam as expired and moving it to %s"
 		    gnus-newsgroup-name)
       (spam-mark-spam-as-expired-and-move-routine

-- 
Johan Bockgård



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: FIX: spam-summary-prepare-exit
  2004-04-19 13:17 FIX: spam-summary-prepare-exit Johan Bockgård
@ 2004-04-21 15:41 ` Ted Zlatanov
  0 siblings, 0 replies; 2+ messages in thread
From: Ted Zlatanov @ 2004-04-21 15:41 UTC (permalink / raw)


On Mon, 19 Apr 2004, bojohan+news@dd.chalmers.se wrote:

> Remove `not'.
> 
> (Also, "Marking spam as expired and moving it to %s" is wrong;
> `gnus-newsgroup-name' is the from-group, not the to-group. I did not
> change this.)

Thank you, both fixes are comitted.  The unless...and...not logic
chain confused me.

Ted



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-21 15:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-19 13:17 FIX: spam-summary-prepare-exit Johan Bockgård
2004-04-21 15:41 ` Ted Zlatanov

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).