Function: erc-make-obsolete-variable

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

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

Signature

(erc-make-obsolete-variable OBSOLETE-NAME CURRENT-NAME WHEN &optional ACCESS-TYPE)

Documentation

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

The warning will say that CURRENT-NAME should be used instead. If CURRENT-NAME is a string, that is the use instead message. If it is a string, it is passed through substitute-command-keys. WHEN should be a string indicating when the variable was first made obsolete, for example a date or a release number. ACCESS-TYPE if non-nil should specify the kind of access that will trigger
  obsolescence warnings; it can be either get or set.

Aliases

mh-make-obsolete-variable (obsolete since 29.1) erc-make-obsolete-variable (obsolete since 28.1)