Crate emacs_macros[][src]

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

defun

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

module

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.