summaryrefslogtreecommitdiff
path: root/lisp/help.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-02-24 11:59:30 +0200
committerEli Zaretskii <eliz@gnu.org>2024-02-24 11:59:30 +0200
commit01ebc95114fe89ef623bc7ebdd3c3e1b9ef06b4e (patch)
treeaf1f67c9c97244297d857d3a5864fdb1e157ddbf /lisp/help.el
parentafe49c7e2a2340432418df264f93d8ac88bca95f (diff)
downloademacs-01ebc95114fe89ef623bc7ebdd3c3e1b9ef06b4e.tar.gz
Fix 'help-quick-toggle'
* lisp/help.el (help-quick-sections): Fix "kill-region" command. Add a doc string. (Bug#69345)
Diffstat (limited to 'lisp/help.el')
-rw-r--r--lisp/help.el12
1 files 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))