From: Dmitry Gutov Date: Sat, 11 Jul 2015 15:56:42 +0000 (+0300) Subject: Bind grep-highlight-matches to nil X-Git-Tag: emacs-25.0.90~1503 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187;p=emacs.git Bind grep-highlight-matches to nil * lisp/progmodes/xref.el (xref-collect-matches): Bind grep-highlight-matches to nil (bug#20728). --- 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))