aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2004-02-16 19:27:38 +0000
committerEli Zaretskii2004-02-16 19:27:38 +0000
commit24fa1cf16096d2aa964fd331625919eacc08f401 (patch)
treebd2212bd381029b8f8afe6d4e91ad8a657682c29
parent6ff67d57ae55795a0a468f11baf964a7cd9de3c4 (diff)
downloademacs-24fa1cf16096d2aa964fd331625919eacc08f401.tar.gz
emacs-24fa1cf16096d2aa964fd331625919eacc08f401.zip
(grep-compute-defaults): Undo change from
2004-01-29: don't use executable-command-find-posix-p.
-rw-r--r--lisp/progmodes/grep.el7
1 files changed, 1 insertions, 6 deletions
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'."
318 'gnu))) 318 'gnu)))
319 (unless grep-find-command 319 (unless grep-find-command
320 (setq grep-find-command 320 (setq grep-find-command
321 (cond ((not (executable-command-find-posix-p "find")) 321 (cond ((eq grep-find-use-xargs 'gnu)
322 (message
323 (concat "compile.el: Posix-style find(1) not found. "
324 "Please set `grep-find-command'."))
325 nil)
326 ((eq grep-find-use-xargs 'gnu)
327 (format "%s . -type f -print0 | xargs -0 -e %s" 322 (format "%s . -type f -print0 | xargs -0 -e %s"
328 find-program grep-command)) 323 find-program grep-command))
329 (grep-find-use-xargs 324 (grep-find-use-xargs