]> git.eshelyaron.com Git - emacs.git/commitdiff
(grep-compute-defaults): Undo change from
authorEli Zaretskii <eliz@is.elta.co.il>
Mon, 16 Feb 2004 19:27:38 +0000 (19:27 +0000)
committerEli Zaretskii <eliz@is.elta.co.il>
Mon, 16 Feb 2004 19:27:38 +0000 (19:27 +0000)
2004-01-29: don't use executable-command-find-posix-p.

lisp/progmodes/grep.el

index c85a3db492d8a9fb33be0cb0c536f995037186f0..03f267cb13333ac0d8a712c085f95437782afe5b 100644 (file)
@@ -318,12 +318,7 @@ Sets `grep-last-buffer' and runs `grep-setup-hook'."
              'gnu)))
   (unless grep-find-command
     (setq grep-find-command
-          (cond ((not (executable-command-find-posix-p "find"))
-                (message
-                 (concat "compile.el: Posix-style find(1) not found. "
-                         "Please set `grep-find-command'."))
-                nil)
-               ((eq grep-find-use-xargs 'gnu)
+          (cond ((eq grep-find-use-xargs 'gnu)
                 (format "%s . -type f -print0 | xargs -0 -e %s"
                         find-program grep-command))
                (grep-find-use-xargs