mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 19:59:38 +00:00
* lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714)
This commit is contained in:
parent
941158fc13
commit
1bed294958
1 changed files with 5 additions and 1 deletions
|
@ -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'),
|
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 a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP,
|
||||||
or an extended menu item definition.
|
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)))
|
(declare (compiler-macro (lambda (form) (keymap--compile-check key) form)))
|
||||||
(keymap--check key)
|
(keymap--check key)
|
||||||
;; If we're binding this key to another key, then parse that other
|
;; If we're binding this key to another key, then parse that other
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue