[][src]Crate emacs_macros

This crate implements proc macros for the emacs crate. It is a dependency of emacs crate, and should not be listed as a direct dependency by Emacs dynamic modules.

Attribute Macros


Exports a function to the Lisp runtime. The function is bound at initialization, even if it is defined inside another function which is never called.


Registers a function as the initializer, to be called when Emacs loads the module. Each dynamic module must have one and only one such function.