emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 01ebc95114f: Fix 'help-quick-toggle'


From: Eli Zaretskii
Subject: emacs-29 01ebc95114f: Fix 'help-quick-toggle'
Date: Sat, 24 Feb 2024 05:00:15 -0500 (EST)

branch: emacs-29
commit 01ebc95114fe89ef623bc7ebdd3c3e1b9ef06b4e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix 'help-quick-toggle'
    
    * lisp/help.el (help-quick-sections): Fix "kill-region" command.
    Add a doc string.  (Bug#69345)
---
 lisp/help.el | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/lisp/help.el b/lisp/help.el
index accd01e56f5..24e4b9890a7 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -151,7 +151,7 @@ buffer.")
     ("Mark & Kill"
      (set-mark-command . "mark")
      (kill-line . "kill line")
-     (kill-ring-save . "kill region")
+     (kill-region . "kill region")
      (yank . "yank")
      (exchange-point-and-mark . "swap"))
     ("Projects"
@@ -165,7 +165,15 @@ buffer.")
      (isearch-forward . "search")
      (isearch-backward . "reverse search")
      (query-replace . "search & replace")
-     (fill-paragraph . "reformat"))))
+     (fill-paragraph . "reformat")))
+  "Data structure for `help-quick'.
+Value should be a list of elements, each element should of the form
+
+  (GROUP-NAME (COMMAND . DESCRIPTION) (COMMAND . DESCRIPTION)...)
+
+where GROUP-NAME is the name of the group of the commands,
+COMMAND is the symbol of a command and DESCRIPTION is its short
+description, 10 to 15 char5acters at most.")
 
 (declare-function prop-match-value "text-property-search" (match))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]