class EmacsLispKey(ObjectDescription):
"""A directive to document interactive commands via their bindings."""
- label = 'Interactive command'
+ label = 'Emacs command'
def handle_signature(self, signature, signode):
"""Create nodes to ``signode`` for ``signature``.
line=self.lineno)
keymap[binding] = self.env.docname
- index_text = '{name}; key binding'.format(name=binding)
+ index_text = '{name}; Emacs key binding'.format(name=binding)
self.indexnode['entries'].append(
('pair', index_text, reftarget, '', None))
"""A domain to document Emacs Lisp code."""
name = 'el'
- label = 'Emacs Lisp'
+ label = ''
object_types = {
# TODO: Set search prio for object types