Synch with Oort Gnus.
authoryamaoka <yamaoka>
Thu, 16 Jan 2003 00:15:53 +0000 (00:15 +0000)
committeryamaoka <yamaoka>
Thu, 16 Jan 2003 00:15:53 +0000 (00:15 +0000)
lisp/ChangeLog
lisp/spam.el

index 8bd2cd5..3557b55 100644 (file)
        Bogofilter interface
        (spam-summary-prepare-exit): use the new Bogofilter functions
        (spam-list-of-checks): added spam-use-bogofilter-headers
-       (gnus-summary-mode-map): removed the spam-bogofilter-score entries
-       for now
+       (spam-bogofilter-score): rewrote function
+       (spam-check-bogofilter): optional score parameter, uses
+       spam-check-bogofilter-headers better
+       (spam-check-bogofilter-headers): optional score parameter
 
        * gnus.el (gnus-install-group-spam-parameters): new variable, t by
        default, in the gnus-start customization group.  Used to disable
index a3a13f6..37791aa 100644 (file)
@@ -775,6 +775,8 @@ Uses `gnus-newsgroup-name' if category is nil (for ham registration)."
 
 ;; return something sensible if the score can't be determined
 (defun spam-bogofilter-score ()
+  "Get the Bogofilter spamicity score"
+  (interactive)
   (or (spam-check-bogofilter t)
       0))