Macro emacs::use_symbols

source ·
macro_rules! use_symbols {
    ($( $name:ident $( => $lisp_name:expr )? )*) => { ... };
}
Expand description

Defines static &OnceGlobalRef variables that point to corresponding Lisp symbols.

This macro accepts a space-separated list of identifiers, and determine the Lisp symbol names by replacing underscores with hyphens.

It can be used only once per Rust mod.