Function: mh-scan-format-file-check

mh-scan-format-file-check is a byte-compiled function defined in mh-e.el.gz.

Signature

(mh-scan-format-file-check SYMBOL VALUE)

Documentation

Check if desired setting is valid.

Throw an error if user tries to set mh-scan-format-file to anything but t when mh-adaptive-cmd-note-flag is on. Otherwise, set SYMBOL to VALUE.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defun mh-scan-format-file-check (symbol value)
  "Check if desired setting is valid.
Throw an error if user tries to set `mh-scan-format-file' to
anything but t when `mh-adaptive-cmd-note-flag' is on. Otherwise,
set SYMBOL to VALUE."
  (if (and (not (eq value t))
           mh-adaptive-cmd-note-flag)
      (error "%s %s" "You must turn off `mh-adaptive-cmd-note-flag'"
             "unless you use \"Use MH-E scan Format\"")
    (set-default symbol value)))