]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/semantic/symref/grep.el
An efficient built-in mapcan
[gnu-emacs] / lisp / cedet / semantic / symref / grep.el
index 36e97da818df9fab00d4ad0733f6e706589211bd..b232e0fb619a0f787ec5a9f288dfb330fa52b330 100644 (file)
@@ -81,7 +81,7 @@ Optional argument MODE specifies the `major-mode' to test."
         (if (null (cdr args))
             args
           `("(" ,@args
-            ,@(apply #'nconc (mapcar (lambda (s) `("-o" "-name" ,s)) pat))
+            ,@(mapcan (lambda (s) `("-o" "-name" ,s)) pat)
             ")"))))))
 
 (defvar grepflags)