diff options
| -rw-r--r-- | lisp/subr.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 656f02a1b30..edd425d33e6 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -226,6 +226,12 @@ The order of bindings in a keymap matters when it is used as a menu." | |||
| 226 | (setq inserted t))) | 226 | (setq inserted t))) |
| 227 | (setq tail (cdr tail))))) | 227 | (setq tail (cdr tail))))) |
| 228 | 228 | ||
| 229 | (defmacro kbd (keys) | ||
| 230 | "Convert KEYS to the internal Emacs key representation. | ||
| 231 | KEYS should be a string constant in the format used for | ||
| 232 | saving keyboard macros (see `insert-kbd-macro')." | ||
| 233 | (read-kbd-macro keys)) | ||
| 234 | |||
| 229 | (put 'keyboard-translate-table 'char-table-extra-slots 0) | 235 | (put 'keyboard-translate-table 'char-table-extra-slots 0) |
| 230 | 236 | ||
| 231 | (defun keyboard-translate (from to) | 237 | (defun keyboard-translate (from to) |