cl-subst

cl-subst is a compiled Lisp function in `cl-lib.el'.

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

Substitute NEW for OLD everywhere in TREE (non-destructively).
Return a copy of TREE with all elements `eql' to OLD replaced by NEW.

Keywords supported: :test :test-not :key