From a27679a3ec92308ed5b61130759beb7e8513e371 Mon Sep 17 00:00:00 2001 From: hmurata Date: Mon, 27 Oct 2003 09:40:04 +0000 Subject: [PATCH] * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to register into good corpus. (elmo-spam-register-good-buffer): Fixed to register into bad corpus. --- elmo/ChangeLog | 7 +++++++ elmo/elsp-spamfilter.el | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/elmo/ChangeLog b/elmo/ChangeLog index 3fe7724..3661c95 100644 --- a/elmo/ChangeLog +++ b/elmo/ChangeLog @@ -1,3 +1,10 @@ +2003-10-27 Hiroya Murata + + * elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to + register into good corpus. + (elmo-spam-register-good-buffer): Fixed to register into bad + corpus. + 2003-10-26 Hiroya Murata * elmo-version.el (elmo-version): Up to 2.11.20. diff --git a/elmo/elsp-spamfilter.el b/elmo/elsp-spamfilter.el index d83a85b..0615506 100644 --- a/elmo/elsp-spamfilter.el +++ b/elmo/elsp-spamfilter.el @@ -94,18 +94,18 @@ buffer) (with-temp-buffer (elmo-spam-spamfilter-decode-buffer buffer) - (spamf-register-good-buffer + (spamf-register-spam-buffer (current-buffer) - (elsp-spamfilter-good-corpus-internal processor)) + (elsp-spamfilter-bad-corpus-internal processor)) (elsp-spamfilter-set-modified-internal processor t))) (luna-define-method elmo-spam-register-good-buffer ((processor elsp-spamfilter) buffer) (with-temp-buffer (elmo-spam-spamfilter-decode-buffer buffer) - (spamf-register-spam-buffer + (spamf-register-good-buffer (current-buffer) - (elsp-spamfilter-bad-corpus-internal processor)) + (elsp-spamfilter-good-corpus-internal processor)) (elsp-spamfilter-set-modified-internal processor t))) (require 'product) -- 1.7.10.4