# HG changeset patch # User Oleksandr Gavenko # Date 1268906162 -7200 # Node ID a6fb477c0e1913ba8b14835aeb281e8521c6f36d # Parent 84c8c5f03fd4d787461f3ff7d48f8c3f8f9a6c20 Assume that we have GNU grep, so -H available. diff -r 84c8c5f03fd4 -r a6fb477c0e19 .emacs-my --- a/.emacs-my Thu Mar 18 11:43:28 2010 +0200 +++ b/.emacs-my Thu Mar 18 11:56:02 2010 +0200 @@ -196,6 +196,8 @@ ;; Assume that we have GNU grep, so -H available. (setq grep-command "grep -nH ") +;; Assume that we have GNU grep, so -H available. +(setq grep-template "grep -nH ") (setq 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 ") ;; Do not set t because some grep do not has --color options. (setq grep-highlight-matches nil)