]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/semantic/db-find.el
An efficient built-in mapcan
[gnu-emacs] / lisp / cedet / semantic / db-find.el
index d6635a9dcef9e3f4915fcb7ac160788650e282fa..cd951804db73772dcbd53dfc9f7fc16decc64c50 100644 (file)
@@ -902,7 +902,7 @@ instead."
 This makes it appear more like the results of a `semantic-find-' call.
 This is like `semanticdb-strip-find-results', except the input list RESULTS
 will be changed."
-  (apply #'nconc (mapcar #'cdr results)))
+  (mapcan #'cdr results))
 
 (defun semanticdb-find-results-p (resultp)
   "Non-nil if RESULTP is in the form of a semanticdb search result.