Function: erc-compat-function
erc-compat-function is a function alias for compat-function, defined
in compat.el.
This macro is obsolete since 30.1; use compat-function instead.
Signature
(erc-compat-function FUN)
Documentation
Return compatibility function symbol for FUN.
If the Emacs version provides a sufficiently recent version of FUN, the symbol FUN is returned itself. Otherwise the macro returns the symbol of a compatibility function which supports the behavior and calling convention of the current stable Emacs version. For example Compat 29.1 will provide compatibility functions which implement the behavior and calling convention of Emacs 29.1.
See also compat-call to directly call compatibility functions.
Aliases
erc-compat-function (obsolete since 30.1)