summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-e.el
diff options
context:
space:
mode:
authorMike Kupfer <mkupfer@alum.berkeley.edu>2018-03-07 23:01:12 -0800
committerGlenn Morris <rgm@gnu.org>2018-03-07 23:01:12 -0800
commit9f6e7905eccf147a07ac9d041921add37ebbf08b (patch)
tree395d3db1f18f6d1029626770fc2d7241f1bab658 /lisp/mh-e/mh-e.el
parent8c361c0c7316eb80a49b2d7b856ada1319fe4121 (diff)
downloademacs-9f6e7905eccf147a07ac9d041921add37ebbf08b.tar.gz
emacs-9f6e7905eccf147a07ac9d041921add37ebbf08b.tar.bz2
emacs-9f6e7905eccf147a07ac9d041921add37ebbf08b.zip
* lisp/mh-e/mh-e.el (mh-variant-set): Tweak failure message.
Diffstat (limited to 'lisp/mh-e/mh-e.el')
-rw-r--r--lisp/mh-e/mh-e.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 7b587a80d16..4515144d148 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -945,6 +945,8 @@ finally GNU mailutils MH."
(when (not (mh-variant-set-variant variant))
(message "Warning: %s variant not found. Autodetecting..." variant)
(mh-variant-set 'autodetect)))
+ ((null valid-list)
+ (message "Unknown variant %s; can't find MH anywhere" variant))
(t
(message "Unknown variant %s; use %s"
variant