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:
parent
a9e73449bf
commit
fba78e50eb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user