Remove duplication of find
file pattern arguments
* lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns): Avoid including the same pattern twice.
This commit is contained in:
parent
1b0fb8fc2e
commit
4cf6d03d04
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue