Function: -splice-list

-splice-list is a byte-compiled function defined in dash.el.

Signature

(-splice-list PRED NEW-LIST LIST)

Documentation

Splice NEW-LIST in place of elements matching PRED in LIST.

See also: -splice, -insert-at

View in manual

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
(defun -splice-list (pred new-list list)
  "Splice NEW-LIST in place of elements matching PRED in LIST.

See also: `-splice', `-insert-at'"
  (declare (important-return-value t))
  (-splice pred (lambda (_) new-list) list))