diff options
| author | Wilfred Hughes <wilfred@potatolondon.com> | 2011-09-01 00:29:56 -0700 |
|---|---|---|
| committer | Glenn Morris <rgm@gnu.org> | 2011-09-01 00:29:56 -0700 |
| commit | 793d32bb233a506655d9e74050b6b336c504f929 (patch) | |
| tree | fc5595b82c497e728426fab3b49fe9b1ae64a28b /lisp/vc/vc-git.el | |
| parent | e350c3a032b6e0136cf001b3a2985b74342daf4e (diff) | |
| download | emacs-793d32bb233a506655d9e74050b6b336c504f929.tar.gz | |
* lisp/vc/vc-git.el (vc-git-grep): Use --no-color. (tiny change)
Fixes: debbugs:9408
Diffstat (limited to 'lisp/vc/vc-git.el')
| -rw-r--r-- | lisp/vc/vc-git.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index 711a573ba99..fc42b43c97d 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el @@ -988,7 +988,8 @@ This command shares argument histories with \\[rgrep] and \\[grep]." (setq command nil)) (setq dir (file-name-as-directory (expand-file-name dir))) (setq command - (grep-expand-template "git grep -n -e <R> -- <F>" regexp files)) + (grep-expand-template "git grep --no-color -n -e <R> -- <F>" + regexp files)) (when command (if (equal current-prefix-arg '(4)) (setq command |
