From: Eli Zaretskii Date: Sat, 24 Feb 2024 09:59:30 +0000 (+0200) Subject: Fix 'help-quick-toggle' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6d6956739ca2a9e92f45a537e74e11f0947847cf;p=emacs.git Fix 'help-quick-toggle' * lisp/help.el (help-quick-sections): Fix "kill-region" command. Add a doc string. (Bug#69345) (cherry picked from commit 01ebc95114fe89ef623bc7ebdd3c3e1b9ef06b4e) --- diff --git a/lisp/help.el b/lisp/help.el index bdf1081a1b6..3148e5b5a82 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))