summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-07-31 08:33:18 -0300
committerDavid Bremner <david@tethera.net>2022-08-11 07:43:17 -0300
commitb2d07209713cb872117cb7701ac5133bb183744a (patch)
tree0b07761b4ebbf565e0d2af1d93328e2792d0ed67
parent4d367ac0b4d7bc5110a068856d958d8e88eb4f12 (diff)
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.
-rw-r--r--doc/elisp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/elisp.py b/doc/elisp.py
index 1a96b12a..642ea9ae 100644
--- a/doc/elisp.py
+++ b/doc/elisp.py
@@ -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))