Function: erc-make-obsolete

erc-make-obsolete is a function alias for make-obsolete, defined in byte-run.el.gz.

This function is obsolete since 28.1; use make-obsolete instead.

Signature

(erc-make-obsolete OBSOLETE-NAME CURRENT-NAME WHEN)

Documentation

Make the byte-compiler warn that function OBSOLETE-NAME is obsolete.

OBSOLETE-NAME should be a function name or macro name (a symbol).

The warning will say that CURRENT-NAME should be used instead. If CURRENT-NAME is a string, that is the use instead message
(it should end with a period, and not start with a capital).
WHEN should be a string indicating when the function was first made obsolete, for example a date or a release number.

If OBSOLETE-NAME is a command, and WHEN is a release number, then it also determines whether Emacs offers the command as a completion candidate in execute-extended-command and similar commands: Emacs includes only obsolete commands that were first obsoleted in the running version of Emacs.

Aliases

erc-make-obsolete (obsolete since 28.1)