Function: mh-junk-process-allowlist

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

Signature

(mh-junk-process-allowlist RANGE)

Documentation

Allowlist RANGE as ham.

This command reclassifies the RANGE as ham if it were incorrectly classified as spam (see the option mh-junk-program).

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-junk.el.gz
;;;###mh-autoload
(defun mh-junk-process-allowlist (range)
  "Allowlist RANGE as ham.

This command reclassifies the RANGE as ham if it were incorrectly
classified as spam (see the option `mh-junk-program')."
  (let ((allowlist-func (nth 2 (assoc mh-junk-choice mh-junk-function-alist))))
    (unless allowlist-func
      (error "Customize `mh-junk-program' appropriately"))
    (mh-iterate-on-range msg range
      (funcall (symbol-function allowlist-func) msg))))