Function: c-concat-separated

c-concat-separated is a byte-compiled function defined in cc-defs.el.gz.

Signature

(c-concat-separated LIST SEPARATOR)

Documentation

Like concat on LIST, but separate each element with SEPARATOR.

Notably, null elements in LIST are ignored.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defun c-concat-separated (list separator)
  "Like `concat' on LIST, but separate each element with SEPARATOR.
Notably, null elements in LIST are ignored."
  (mapconcat 'identity (delete nil (append list nil)) separator))