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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user