Function: substitute

substitute is a for cl-substitute, defined in cl-seq.el.gz.

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

Signature

(substitute NEW OLD SEQ [KEYWORD VALUE]...)

Documentation

Substitute NEW for OLD in SEQ.

This is a non-destructive function; it makes a copy of SEQ if necessary to avoid corrupting the original SEQ.

Keywords supported: :test :test-not :key :count :start :end :from-end

Probably introduced at or before Emacs version 26.1.

Aliases

substitute (obsolete since 27.1)