From: Eli Zaretskii Date: Mon, 16 Feb 2004 19:27:38 +0000 (+0000) Subject: (grep-compute-defaults): Undo change from X-Git-Tag: ttn-vms-21-2-B4~7580 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24fa1cf16096d2aa964fd331625919eacc08f401;p=emacs.git (grep-compute-defaults): Undo change from 2004-01-29: don't use executable-command-find-posix-p. --- diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index c85a3db492d..03f267cb133 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -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