From: Richard M. Stallman Date: Sun, 28 Jun 1998 22:52:49 +0000 (+0000) Subject: (mh-find-progs): Avoid WTA error X-Git-Tag: emacs-20.3~442 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fba78e50eb0cb571682d9b54c3c7ec9caa3ab578;p=emacs.git (mh-find-progs): Avoid WTA error when mh-progs is nil. Give a clear specific error message instead. --- diff --git a/lisp/mail/mh-utils.el b/lisp/mail/mh-utils.el index bcbe2e6a0b5..3e008d5d8db 100644 --- a/lisp/mail/mh-utils.el +++ b/lisp/mail/mh-utils.el @@ -599,7 +599,9 @@ Set the `mh-progs' and `mh-lib' variables to the file names." "/usr/local/bin/" ) "inc")))) + (or (and mh-lib (mh-file-command-p (expand-file-name "mhl" mh-lib))) + (null mh-progs) (setq mh-lib ;; Look for a lib directory roughly parallel to the bin ;; directory: Strip any trailing `mh' or `bin' path