Function: mh-junk-process-blocklist

mh-junk-process-blocklist is an autoloaded and byte-compiled function defined in mh-junk.el.gz.

Signature

(mh-junk-process-blocklist RANGE)

Documentation

Blocklist RANGE as spam.

This command trains the spam program in use (see the option mh-junk-program) with the content of RANGE and then handles the message(s) as specified by the option mh-junk-disposition.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-junk.el.gz
;;;###mh-autoload
(defun mh-junk-process-blocklist (range)
  "Blocklist RANGE as spam.
This command trains the spam program in use (see the option
`mh-junk-program') with the content of RANGE and then handles the
message(s) as specified by the option `mh-junk-disposition'."
  (let ((blocklist-func (nth 1 (assoc mh-junk-choice mh-junk-function-alist))))
    (unless blocklist-func
      (error "Customize `mh-junk-program' appropriately"))
    (mh-iterate-on-range msg range
      (funcall (symbol-function blocklist-func) msg))))