diff options
| author | Dmitry Gutov | 2015-07-11 18:56:42 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2015-07-11 18:56:42 +0300 |
| commit | d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187 (patch) | |
| tree | 9bf0e33831ef36e3da296d71214ec6c489cec886 | |
| parent | 8f1df3c40da276e129af4404bfba94defbfa5cae (diff) | |
| download | emacs-d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187.tar.gz emacs-d6c2b34e9e9a2e55f599e5a3d1d89ad51437d187.zip | |
Bind grep-highlight-matches to nil
* lisp/progmodes/xref.el (xref-collect-matches):
Bind grep-highlight-matches to nil (bug#20728).
| -rw-r--r-- | 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 e76f0ed0b8d..32d1215f157 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -762,8 +762,10 @@ tools are used, and when." | |||
| 762 | (require 'semantic/fw) | 762 | (require 'semantic/fw) |
| 763 | (grep-compute-defaults) | 763 | (grep-compute-defaults) |
| 764 | (defvar grep-find-template) | 764 | (defvar grep-find-template) |
| 765 | (defvar grep-highlight-matches) | ||
| 765 | (let* ((grep-find-template (replace-regexp-in-string "-e " "-E " | 766 | (let* ((grep-find-template (replace-regexp-in-string "-e " "-E " |
| 766 | grep-find-template t t)) | 767 | grep-find-template t t)) |
| 768 | (grep-highlight-matches nil) | ||
| 767 | (command (rgrep-default-command (xref--regexp-to-extended regexp) | 769 | (command (rgrep-default-command (xref--regexp-to-extended regexp) |
| 768 | "*.*" dir)) | 770 | "*.*" dir)) |
| 769 | (orig-buffers (buffer-list)) | 771 | (orig-buffers (buffer-list)) |