diff -r 9258c46dc165 -r 9c77c6407546 .emacs-my --- a/.emacs-my Fri Nov 07 14:08:36 2008 +0200 +++ b/.emacs-my Fri Nov 07 14:20:19 2008 +0200 @@ -316,8 +316,7 @@ ;; ---------------------------------------------------------------------- ;; *grep* (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" - ;; XXX Need use -prune for performance. - grep-find-command "find . -type f ! -path '*.svn*' ! -path '*CVS*' ! -path '*.hg*' ! -path '*_darcs*' -name '*' -print0 | xargs -0 -e grep -nH " + grep-find-command "find . '(' -name .svn -o -name CVS -o -name .hg -o -name _darcs ')' -prune -o -type f -name '*' -print0 | xargs -0 -e grep -nH " grep-highlight-matches nil ; do not set t because some grep do not has --color options grep-tree-command "find -type f -print0 | xargs -0 -e grep -nH " grep-use-null-device t)