# HG changeset patch # User Oleksander Gavenko # Date 1208465889 -10800 # Node ID 2a74cffeb2328e98fd7320b7ad75a849b03c30c9 # Parent 98c662ae8707ac0b523aa3e43695a3cb6477b2fd Correct grep-find to ignore vcs subdir. diff -r 98c662ae8707 -r 2a74cffeb232 .emacs --- a/.emacs Thu Apr 17 23:58:09 2008 +0300 +++ b/.emacs Thu Apr 17 23:58:09 2008 +0300 @@ -297,7 +297,7 @@ ;; ---------------------------------------------------------------------- ;; *grep* (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" - grep-find-command "find . -type f ! -path '*.svn' ! -path '*CVS' ! -path '*.hg' -name '*' -print0 | xargs -0 -e grep -nH " + grep-find-command "find . -type f ! -path '*.svn*' ! -path '*CVS*' ! -path '*.hg*' -name '*' -print0 | xargs -0 -e grep -nH " grep-highlight-matches t grep-tree-command "find -type f -print0 | xargs -0 -e grep -nH " grep-use-null-device t)