Function: mh-junk-allowlist
mh-junk-allowlist is an autoloaded, interactive and byte-compiled
function defined in mh-junk.el.gz.
Signature
(mh-junk-allowlist RANGE)
Documentation
Allowlist RANGE as ham.
This command reclassifies the RANGE as ham if it has been incorrectly
classified as spam (see the option mh-junk-program). It then
refiles the message into the "+inbox" folder.
Check the documentation of mh-interactive-range to see how
RANGE is read in interactive use.
Probably introduced at or before Emacs version 28.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-junk.el.gz
;;;###mh-autoload
(defun mh-junk-allowlist (range)
"Allowlist RANGE as ham.
This command reclassifies the RANGE as ham if it has been incorrectly
classified as spam (see the option `mh-junk-program'). It then
refiles the message into the \"+inbox\" folder.
Check the documentation of `mh-interactive-range' to see how
RANGE is read in interactive use."
(interactive (list (mh-interactive-range "Allowlist")))
(mh-iterate-on-range () range (mh-junk-allowlist-a-msg nil))
(if (looking-at mh-scan-allowlisted-msg-regexp)
(mh-next-msg)))