From: Dmitry Gutov Date: Mon, 11 Mar 2019 00:22:54 +0000 (+0200) Subject: project--find-regexp-in-files: Use 'grep -E' X-Git-Tag: emacs-27.0.90~3436 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5aefaf43858412c905dea912ea5ed93d7fe85be8;p=emacs.git 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. --- 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." (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"