Fix project-find-regexp search for '--'
* lisp/progmodes/project.el (project--find-regexp-in-files): Add an explicit '-e' before the pattern. Fixing the ability to search for '--'. Reported by Juri Linkov <juri@linkov.net>.
This commit is contained in:
parent
62072bad41
commit
f0e026a849
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,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 -e %s"
|
||||
(if (and case-fold-search
|
||||
(isearch-no-upper-case-p regexp t))
|
||||
"-i"
|
||||
|
|
Loading…
Add table
Reference in a new issue