From d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 11 Jul 2015 18:56:42 +0300 Subject: [PATCH] Bind grep-highlight-matches to nil * lisp/progmodes/xref.el (xref-collect-matches): Bind grep-highlight-matches to nil (bug#20728). --- lisp/progmodes/xref.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index e76f0ed0b8d..32d1215f157 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -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)) -- 2.39.5