[PATCH 2/7] doc/elisp: replace label for Emacs commands and key bindings.

Subject:[PATCH 2/7] doc/elisp: replace label for Emacs commands and key bindings.

Date:Sun, 31 Jul 2022 08:33:18 -0300

To:notmuch@notmuchmail.org

Cc:

From:David Bremner


In the notmuch doc index it is important to be clear which parts are
Emacs related.
---
 doc/elisp.py | 4 ++--
 1 file 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))
 
-- 
2.35.2

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: