projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0fb8f
)
Remove duplication of `find` file pattern arguments
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 13 Sep 2021 16:38:59 +0000
(18:38 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 13 Sep 2021 16:41:58 +0000
(18:41 +0200)
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-derive-find-filepatterns): Avoid including the same
pattern twice.
lisp/cedet/semantic/symref/grep.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/semantic/symref/grep.el
b/lisp/cedet/semantic/symref/grep.el
index 180d779a780f2f56e15a0c5981e11fb5e401888e..cee54d78185801207352b0e0276a7df1eae07bcd 100644
(file)
--- a/
lisp/cedet/semantic/symref/grep.el
+++ b/
lisp/cedet/semantic/symref/grep.el
@@
-87,7
+87,7
@@
Optional argument MODE specifies the `major-mode' to test."
(if (null (cdr pat))
args
`("(" ,@args
- ,@(mapcan (lambda (s) `("-o" "-name" ,s))
pat
)
+ ,@(mapcan (lambda (s) `("-o" "-name" ,s))
(cdr pat)
)
")"))))))
(defvar semantic-symref-grep-flags)