]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714)
authorRobert Pluim <rpluim@gmail.com>
Tue, 10 Jun 2025 07:48:20 +0000 (09:48 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 18 Jun 2025 08:10:25 +0000 (10:10 +0200)
(cherry picked from commit 1bed29495836dab96fe642dbd6f4c1625c50b12a)

lisp/keymap.el

index a0048817cfa2c96d91025851bf40f0f059022951..7e0e64999e8eb46d8aa5c1bddc567888b0287608 100644 (file)
@@ -60,7 +60,11 @@ DEFINITION is anything that can be a key's definition:
     keymap has been created with a menu name, see `make-keymap'),
  or a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP,
  or an extended menu item definition.
- (See info node `(elisp)Extended Menu Items'.)"
+ (See info node `(elisp)Extended Menu Items'.)
+
+The `key-description' convenience function converts a simple
+string of characters to an equivalent form that is acceptable for
+COMMAND."
   (declare (compiler-macro (lambda (form) (keymap--compile-check key) form)))
   (keymap--check key)
   ;; If we're binding this key to another key, then parse that other