aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2017-05-04 18:26:46 +0300
committerDmitry Gutov2017-05-04 18:27:15 +0300
commitf5ca518b9274e4abaecd1398cce6a24b77139ae3 (patch)
tree4bc05b36443aa2abfbcefe3de6c60b0ad99b637c
parent53348c6b9ffa46c15ec04ff08ffb6ec742c86ea4 (diff)
downloademacs-f5ca518b9274e4abaecd1398cce6a24b77139ae3.tar.gz
emacs-f5ca518b9274e4abaecd1398cce6a24b77139ae3.zip
; xref-collect-matches: Add a TODO
-rw-r--r--lisp/progmodes/xref.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index a12fa146203..9b6a560971c 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -920,6 +920,9 @@ IGNORES is a list of glob patterns."
920 (let* ((grep-find-template (replace-regexp-in-string "<C>" "<C> -E" 920 (let* ((grep-find-template (replace-regexp-in-string "<C>" "<C> -E"
921 grep-find-template t t)) 921 grep-find-template t t))
922 (grep-highlight-matches nil) 922 (grep-highlight-matches nil)
923 ;; TODO: Sanitize the regexp to remove Emacs-specific terms,
924 ;; so that Grep can search for the "relaxed" version. Can we
925 ;; do that reliably enough, without creating false negatives?
923 (command (xref--rgrep-command (xref--regexp-to-extended regexp) 926 (command (xref--rgrep-command (xref--regexp-to-extended regexp)
924 files 927 files
925 (expand-file-name dir) 928 (expand-file-name dir)