nsubst-if

nsubst-if is an alias for `cl-nsubst-if' in `cl.el'.

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

Substitute NEW for elements matching PREDICATE in TREE (destructively).
Any element of TREE which matches is changed to NEW (via a call to `setcar').

Keywords supported: :key