mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-21 05:21:37 -07:00
(kbd): New macro.
This commit is contained in:
parent
00ed33e7ab
commit
d128fe8571
1 changed files with 6 additions and 0 deletions
|
|
@ -226,6 +226,12 @@ The order of bindings in a keymap matters when it is used as a menu."
|
|||
(setq inserted t)))
|
||||
(setq tail (cdr tail)))))
|
||||
|
||||
(defmacro kbd (keys)
|
||||
"Convert KEYS to the internal Emacs key representation.
|
||||
KEYS should be a string constant in the format used for
|
||||
saving keyboard macros (see `insert-kbd-macro')."
|
||||
(read-kbd-macro keys))
|
||||
|
||||
(put 'keyboard-translate-table 'char-table-extra-slots 0)
|
||||
|
||||
(defun keyboard-translate (from to)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue