]> git.eshelyaron.com Git - emacs.git/commit
MH-E: fix check for nmh or Mailutils installation
authorStephen Gildea <stepheng+emacs@gildea.com>
Fri, 17 Sep 2021 14:01:40 +0000 (07:01 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Fri, 17 Sep 2021 14:10:58 +0000 (07:10 -0700)
commit2598b8874edc266667108411c9c3c728b7eda609
treec9142a8f55054258384eddbca2c052e2380f0082
parent6397faaaf9b9e47f73d56f330e4964517d646968
MH-E: fix check for nmh or Mailutils installation

* lisp/mh-e/mh-e.el (mh-variant-gnu-mh-info, mh-variant-nmh-info):
Run install-mh, not mhparam, to check whether an MH variant is
installed on the system.  mhparam fails if no user profile is found,
so it is not a reliable check of the state of the system as a whole.

Tested with:
nmh 1.4, nmh 1.7.1, GNU Mailutils 2.2, GNU Mailutils 3.7, GNU Mailutils 3.13
lisp/mh-e/mh-e.el