# HG changeset patch # User Oleksandr Gavenko # Date 1261914677 -7200 # Node ID 64c9bc1e5847b4bc968dfd9feb3ceafe3a942303 # Parent 1e9b259f8abea8e66c856260ddb574f752fad99d Added .git for exclude from grep find. diff -r 1e9b259f8abe -r 64c9bc1e5847 .emacs-my --- a/.emacs-my Sun Dec 27 12:50:10 2009 +0200 +++ b/.emacs-my Sun Dec 27 13:51:17 2009 +0200 @@ -355,7 +355,7 @@ ;; ---------------------------------------------------------------------- ;; *grep* (setq grep-command "find . -name '*' -exec 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-find-command "find . '(' -name .svn -o -name CVS -o -name .hg -o -name _darcs -o -name .git ')' -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)