Function: subst-if

subst-if is a function alias for cl-subst-if, defined in cl-seq.el.gz.

This function is obsolete since 27.1; use cl-subst-if instead.

Signature

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

Documentation

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

Aliases

subst-if (obsolete since 27.1)