mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Use 'help-key' function in more places
* lisp/dired-aux.el (dired-query): * lisp/emacs-lisp/helper.el (Helper-help-map): * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Use 'help-key'. * lisp/net/tramp-cmds.el (tramp-rename-files): * lisp/which-key.el (which-key--next-page-hint): Prefer 'help-key' when available. * lisp/help.el (help-key): Simplify. * etc/symbol-releases.eld: Add 'help-key'.
This commit is contained in:
parent
49e019fbbc
commit
69210eb84e
7 changed files with 11 additions and 8 deletions
|
|
@ -57,7 +57,7 @@ buffer.")
|
|||
|
||||
(defun help-key ()
|
||||
"Return `help-char' in a format suitable for the `keymap-set' KEY argument."
|
||||
(key-description (char-to-string help-char)))
|
||||
(key-description (vector help-char)))
|
||||
|
||||
(defvar-keymap help-map
|
||||
:doc "Keymap for characters following the Help key."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue