]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind grep-highlight-matches to nil
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 11 Jul 2015 15:56:42 +0000 (18:56 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 11 Jul 2015 15:56:42 +0000 (18:56 +0300)
* lisp/progmodes/xref.el (xref-collect-matches):
Bind grep-highlight-matches to nil (bug#20728).

lisp/progmodes/xref.el

index e76f0ed0b8d9ddc56787004d8fd2b91608d44a84..32d1215f1573bebe7827439ca40e80680595687c 100644 (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))