1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00

(mh-find-progs): Avoid WTA error

when mh-progs is nil.  Give a clear specific error message instead.
This commit is contained in:
Richard M. Stallman 1998-06-28 22:52:49 +00:00
parent a9e73449bf
commit fba78e50eb

View File

@ -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