]> git.cworth.org Git - notmuch/commitdiff
doc/elisp: replace label for Emacs commands and key bindings.
authorDavid Bremner <david@tethera.net>
Sun, 31 Jul 2022 11:33:18 +0000 (08:33 -0300)
committerDavid Bremner <david@tethera.net>
Thu, 11 Aug 2022 10:43:17 +0000 (07:43 -0300)
In the notmuch doc index it is important to be clear which parts are
Emacs related.

doc/elisp.py

index 1a96b12a900012cd8cd5be7d8612f710bc0b8893..642ea9ae2eacb89388b4bd50584d864cba2f58fe 100644 (file)
@@ -215,7 +215,7 @@ class EmacsLispFunction(EmacsLispSymbol):
 class EmacsLispKey(ObjectDescription):
     """A directive to document interactive commands via their bindings."""
 
 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``.
 
     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
 
                     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))
 
         self.indexnode['entries'].append(
             ('pair', index_text, reftarget, '', None))