Use find -exec with '+' for grep-find if supported.
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Apr 2011 18:52:08 +0000 (11:52 -0700)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Apr 2011 18:52:08 +0000 (11:52 -0700)
commitf3ca7378c1336b3ff98ecb5a99a98c7b2eceece9
tree37cca1c536d91c767b203d2963fa1cee73d1f286
parentafa8e9f6064d3b9ae62bf240426393d4fabcc9ac
Use find -exec with '+' for grep-find if supported.

* lisp/progmodes/grep.el (grep-find-use-xargs): Doc fix.
(grep-compute-defaults): Check for `-exec COMMAND +' support.
Set grep-find-use-xargs, grep-find-command, and grep-find-template
accordingly.  Don't add the null-device if not needed.
lisp/ChangeLog
lisp/progmodes/grep.el