aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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