Bind grep-highlight-matches to nil

* lisp/progmodes/xref.el (xref-collect-matches):
Bind grep-highlight-matches to nil (bug#20728).
This commit is contained in:
Dmitry Gutov 2015-07-11 18:56:42 +03:00
parent 8f1df3c40d
commit d6c2b34e9e

View file

@ -762,8 +762,10 @@ tools are used, and when."
(require 'semantic/fw)
(grep-compute-defaults)
(defvar grep-find-template)
(defvar grep-highlight-matches)
(let* ((grep-find-template (replace-regexp-in-string "-e " "-E "
grep-find-template t t))
(grep-highlight-matches nil)
(command (rgrep-default-command (xref--regexp-to-extended regexp)
"*.*" dir))
(orig-buffers (buffer-list))