File: compat.el.html
The Compat package on ELPA provides forward-compatibility
definitions for other packages. While mostly transparent, a
minimal API is necessary whenever core definitions change calling
conventions (e.g. plist-get can be invoked with a predicate from
Emacs 29.1 onward). For core packages on ELPA to be able to take
advantage of this functionality, the macros compat-function and
compat-call have to be available in the core, usable even if
users do not have the Compat package installed, which this file
ensures.
A basic introduction to Compat is given in the Info node (elisp) Forwards Compatibility. Further details on Compat are documented in the Info node (compat) Top (installed along with the Compat package) or read the same manual online: https://elpa.gnu.org/packages/doc/compat.html.
Defined variables (0)
Defined functions (2)
compat-call | (FUN &rest ARGS) |
compat-function | (FUN) |