cl-subst-if

cl-subst-if is an autoloaded compiled Lisp function in `cl-seq.el'.

(cl-subst-if NEW PREDICATE TREE [KEYWORD VALUE]...)

Substitute NEW for elements matching PREDICATE in TREE (non-destructively).
Return a copy of TREE with all matching elements replaced by NEW.

Keywords supported: :key