projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62072ba
)
Fix project-find-regexp search for '--'
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 24 Apr 2019 23:24:57 +0000
(
02:24
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 24 Apr 2019 23:26:45 +0000
(
02:26
+0300)
* 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>.
lisp/progmodes/project.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/project.el
b/lisp/progmodes/project.el
index b8a58ed317b22e173c58eb4ec374a06e841520e0..11a2ef40094cc081dd69841a9b6c36ca5b3d90f2 100644
(file)
--- a/
lisp/progmodes/project.el
+++ b/
lisp/progmodes/project.el
@@
-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"