* elsp-spamfilter.el (elmo-spam-register-spam-buffer): Fixed to
authorhmurata <hmurata>
Mon, 27 Oct 2003 09:40:04 +0000 (09:40 +0000)
committerhmurata <hmurata>
Mon, 27 Oct 2003 09:40:04 +0000 (09:40 +0000)
register into good corpus.
(elmo-spam-register-good-buffer): Fixed to register into bad
corpus.

elmo/ChangeLog
elmo/elsp-spamfilter.el

index 3fe7724..3661c95 100644 (file)
@@ -1,3 +1,10 @@
+2003-10-27  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * 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  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo-version.el (elmo-version): Up to 2.11.20.
index d83a85b..0615506 100644 (file)
                                                    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)