Function: spam-stat-split-fancy
spam-stat-split-fancy is a byte-compiled function defined in
spam-stat.el.gz.
Signature
(spam-stat-split-fancy)
Documentation
Return the name of the spam group if the current mail is spam.
Use this function on nnmail-split-fancy(var)/nnmail-split-fancy(fun). If you are interested in
the raw data used for the last run of spam-stat-score-buffer,
check the variable spam-stat-score-data.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/spam-stat.el.gz
(defun spam-stat-split-fancy ()
"Return the name of the spam group if the current mail is spam.
Use this function on `nnmail-split-fancy'. If you are interested in
the raw data used for the last run of `spam-stat-score-buffer',
check the variable `spam-stat-score-data'."
(condition-case err
(progn
(set-buffer spam-stat-buffer)
(goto-char (point-min))
(when (> (spam-stat-score-buffer) spam-stat-split-fancy-spam-threshold)
(when (boundp 'nnmail-split-trace)
(mapc (lambda (entry)
(push entry nnmail-split-trace))
spam-stat-score-data))
spam-stat-split-fancy-spam-group))
(error (message "Error in spam-stat-split-fancy: %S" err)
nil)))