(mh-find-progs): Avoid WTA error
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Jun 1998 22:52:49 +0000 (22:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Jun 1998 22:52:49 +0000 (22:52 +0000)
when mh-progs is nil.  Give a clear specific error message instead.

lisp/mail/mh-utils.el

index bcbe2e6..3e008d5 100644 (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