changeset 22637:030c40f7d202

(mh-find-progs): Avoid WTA error when mh-progs is nil. Give a clear specific error message instead.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Jun 1998 22:52:49 +0000
parents f15c3c6ad8ae
children 704aa3875781
files lisp/mail/mh-utils.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mh-utils.el	Sun Jun 28 22:43:25 1998 +0000
+++ b/lisp/mail/mh-utils.el	Sun Jun 28 22:52:49 1998 +0000
@@ -599,7 +599,9 @@
 				  "/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