mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
doc/elisp: replace label for Emacs commands and key bindings.
In the notmuch doc index it is important to be clear which parts are Emacs related.
This commit is contained in:
parent
4d367ac0b4
commit
b2d0720971
1 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ class EmacsLispFunction(EmacsLispSymbol):
|
|||
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``.
|
||||
|
@ -266,7 +266,7 @@ class EmacsLispKey(ObjectDescription):
|
|||
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))
|
||||
|
||||
|
|
Loading…
Reference in a new issue