Function: subst

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

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

Signature

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

Documentation

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

Aliases

subst (obsolete since 27.1)