Function: cl-mapcan

cl-mapcan is an autoloaded and byte-compiled function defined in cl-extra.el.gz.

Signature

(cl-mapcan FUNCTION SEQUENCE...)

Documentation

Like cl-mapcar, but nconc's together the values returned by the function.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-extra.el.gz
;;;###autoload
(defun cl-mapcan (cl-func cl-seq &rest cl-rest)
  "Like `cl-mapcar', but nconc's together the values returned by the function.
\n(fn FUNCTION SEQUENCE...)"
  (if cl-rest
      (apply #'nconc (apply #'cl-mapcar cl-func cl-seq cl-rest))
    (mapcan cl-func cl-seq)))