.emacs-my
changeset 358 a6fb477c0e19
parent 357 84c8c5f03fd4
child 359 ee15316c1126
equal deleted inserted replaced
357:84c8c5f03fd4 358:a6fb477c0e19
   194 ;; ----------------------------------------------------------------------
   194 ;; ----------------------------------------------------------------------
   195 ;; grep, find.
   195 ;; grep, find.
   196 
   196 
   197 ;; Assume that we have GNU grep, so -H available.
   197 ;; Assume that we have GNU grep, so -H available.
   198 (setq grep-command "grep -nH ")
   198 (setq grep-command "grep -nH ")
       
   199 ;; Assume that we have GNU grep, so -H available.
       
   200 (setq grep-template "grep <C> -nH <R> <F>")
   199 (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 ")
   201 (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 ")
   200 ;; Do not set t because some grep do not has --color options.
   202 ;; Do not set t because some grep do not has --color options.
   201 (setq grep-highlight-matches nil)
   203 (setq grep-highlight-matches nil)
   202 (setq grep-use-null-device nil)
   204 (setq grep-use-null-device nil)
   203 
   205