Variable: mh-variant

mh-variant is a customizable variable defined in mh-e.el.gz.

Value

autodetect

Documentation

Specifies the variant used by MH-E.

The default setting of this option is "Auto-detect" which means that MH-E will automatically choose the first of nmh, MH, or GNU mailutils MH that it finds in the directories listed in mh-path (which you can customize), mh-sys-path, and exec-path(var)/exec-path(fun). If MH-E can't find MH at all, you may have to customize mh-path and add the directory in which the command
"mhparam" is located. If, on the other hand, you have both nmh
and GNU mailutils MH installed (for example) and mh-variant-in-use was initialized to nmh but you want to use GNU mailutils MH, then you can set this option to "gnu-mh".

When this variable is changed, MH-E resets mh-progs, mh-lib, mh-lib-progs, mh-flists-present-flag, and mh-variant-in-use accordingly. Prior to version 8, it was often necessary to set some of these variables in "~/.emacs"; now it is no longer necessary and can actually cause problems.

This variable was added, or its default value changed, in MH-E version
8.0.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-e.el.gz
(defcustom mh-variant 'autodetect
  "Specifies the variant used by MH-E.

The default setting of this option is \"Auto-detect\" which means
that MH-E will automatically choose the first of nmh, MH, or GNU
mailutils MH that it finds in the directories listed in
`mh-path' (which you can customize), `mh-sys-path', and
`exec-path'. If MH-E can't find MH at all, you may have to
customize `mh-path' and add the directory in which the command
\"mhparam\" is located. If, on the other hand, you have both nmh
and GNU mailutils MH installed (for example) and
`mh-variant-in-use' was initialized to nmh but you want to use
GNU mailutils MH, then you can set this option to \"gnu-mh\".

When this variable is changed, MH-E resets `mh-progs', `mh-lib',
`mh-lib-progs', `mh-flists-present-flag', and `mh-variant-in-use'
accordingly. Prior to version 8, it was often necessary to set
some of these variables in \"~/.emacs\"; now it is no longer
necessary and can actually cause problems."
  :type `(radio
          (const :tag "Auto-detect" autodetect)
          ,@(mapcar (lambda (x) `(const ,(car x))) (mh-variants)))
  :set (lambda (symbol value)
         (set-default symbol value)     ;Done in mh-variant-set-variant!
         (mh-variant-set value))
  :initialize #'custom-initialize-default
  :group 'mh-e
  :package-version '(MH-E . "8.0"))