emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d6c2b34: Bind grep-highlight-matches to nil


From: Dmitry Gutov
Subject: [Emacs-diffs] master d6c2b34: Bind grep-highlight-matches to nil
Date: Sat, 11 Jul 2015 15:56:55 +0000

branch: master
commit d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index e76f0ed..32d1215 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]