Mercurial > emacs
comparison lisp/progmodes/grep.el @ 54012:1313586e1e29
(grep-compute-defaults): Undo change from
2004-01-29: don't use executable-command-find-posix-p.
author | Eli Zaretskii <eliz@is.elta.co.il> |
---|---|
date | Mon, 16 Feb 2004 19:27:38 +0000 |
parents | 68ce0c560d06 |
children | a4d3c17f991f |
comparison
equal
deleted
inserted
replaced
54011:b7bf96cb1f23 | 54012:1313586e1e29 |
---|---|
316 "-0" "-e" "echo") | 316 "-0" "-e" "echo") |
317 0)) | 317 0)) |
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 |
330 (format "%s . -type f -print | xargs %s" | 325 (format "%s . -type f -print | xargs %s" |
331 find-program grep-command)) | 326 find-program grep-command)) |