Function: mh-junk-whitelist
mh-junk-whitelist is an autoloaded, interactive and byte-compiled
function defined in mh-junk.el.gz.
Signature
(mh-junk-whitelist RANGE)
Documentation
Old name for mh-junk-allowlist; use M-x mh-junk-allowlist (mh-junk-allowlist) instead.
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-whitelist (range)
"Old name for `mh-junk-allowlist'; use \\[mh-junk-allowlist] instead."
(interactive (list (mh-interactive-range "Allowlist")))
;; We do our own message here instead of using "declare obsolete"
;; in order to talk about keys instead of function names. Also, it
;; lets us bind "J w" to this without the Emacs 29 compiler complaining.
(when (not (get 'mh-junk-whitelist 'command-execute-obsolete-warned))
(message "%s is an obsolete key (as of 28.1); use %s instead"
(substitute-command-keys "\\[mh-junk-whitelist]")
(substitute-command-keys "\\[mh-junk-allowlist]"))
(put 'mh-junk-whitelist 'command-execute-obsolete-warned t))
(mh-junk-allowlist range))