+2001-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * lisp/mm-url.el: Require `path-util'.
+       (mm-url-program): Replace `executable-find' to `exec-installed-p'.
+
 2001-11-29  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * lisp/gnus-vers.el (gnus-revision-number): Increment to 09.
 
 
 (require 'mm-util)
 
+(require 'path-util)
+
 (eval-when-compile (require 'cl))
 
 (eval-and-compile
     (lynx "lynx" "-source")
     (curl "curl")))
 
-(defcustom mm-url-program 
+(defcustom mm-url-program
   (cond
-   ((executable-find "wget") 'wget)
-   ((executable-find "lynx") 'lynx)
-   ((executable-find "curl") 'curl)
+   ((exec-installed-p "wget") 'wget)
+   ((exec-installed-p "lynx") 'lynx)
+   ((exec-installed-p "curl") 'curl)
    (t "GET"))
   "The url grab program."
-  :type '(choice 
+  :type '(choice
          (symbol :tag "wget" wget)
          (symbol :tag "lynx" lynx)
          (symbol :tag "curl" curl)