Mercurial > emacs
changeset 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 | b7bf96cb1f23 |
children | 9a41bfd38de9 |
files | lisp/progmodes/grep.el |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/grep.el Mon Feb 16 19:12:46 2004 +0000 +++ b/lisp/progmodes/grep.el Mon Feb 16 19:27:38 2004 +0000 @@ -318,12 +318,7 @@ '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