Commit f0e026a8 authored by Dmitry Gutov's avatar Dmitry Gutov

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>.
parent 62072bad
Pipeline #1448 passed with stage
in 52 minutes and 22 seconds
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment