aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2019-03-11 02:22:54 +0200
committerDmitry Gutov2019-03-11 02:30:57 +0200
commit5aefaf43858412c905dea912ea5ed93d7fe85be8 (patch)
tree56227b89b5a0d69d67d0d204b8d1ac896b66736d
parentde0dc6b8bf8607899f6b26ef2fedce4eb444b95a (diff)
downloademacs-5aefaf43858412c905dea912ea5ed93d7fe85be8.tar.gz
emacs-5aefaf43858412c905dea912ea5ed93d7fe85be8.zip
project--find-regexp-in-files: Use 'grep -E'
* lisp/progmodes/project.el (project--find-regexp-in-files): Use 'grep -E' because we convert the regexp to extended already.
-rw-r--r--lisp/progmodes/project.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el
index 533e27be7ef..dabc4ab6b45 100644
--- a/lisp/progmodes/project.el
+++ b/lisp/progmodes/project.el
@@ -390,7 +390,7 @@ pattern to search for."
390 (status nil) 390 (status nil)
391 (hits nil) 391 (hits nil)
392 (xrefs nil) 392 (xrefs nil)
393 (command (format "xargs -0 grep %s -nHe %s" 393 (command (format "xargs -0 grep %s -nHE %s"
394 (if (and case-fold-search 394 (if (and case-fold-search
395 (isearch-no-upper-case-p regexp t)) 395 (isearch-no-upper-case-p regexp t))
396 "-i" 396 "-i"