]> git.eshelyaron.com Git - emacs.git/commitdiff
project--find-regexp-in-files: Use 'grep -E'
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 11 Mar 2019 00:22:54 +0000 (02:22 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 11 Mar 2019 00:30:57 +0000 (02:30 +0200)
* lisp/progmodes/project.el (project--find-regexp-in-files): Use
'grep -E' because we convert the regexp to extended already.

lisp/progmodes/project.el

index 533e27be7ef4e9585518fc5c7e85a7a0b979e690..dabc4ab6b45b7f13891e31667f918fc2a1a559c6 100644 (file)
@@ -390,7 +390,7 @@ pattern to search for."
        (status nil)
        (hits nil)
        (xrefs nil)
-       (command (format "xargs -0 grep %s -nHe %s"
+       (command (format "xargs -0 grep %s -nHE %s"
                         (if (and case-fold-search
                                  (isearch-no-upper-case-p regexp t))
                             "-i"