# HG changeset patch # User Richard M. Stallman # Date 860918891 0 # Node ID d7f9b21fdfd278a06fe548939e759f4763c9c0da # Parent 2a9fdbfcb993e028d4db7c7c340793073cc7f23d (kbd): New macro. diff -r 2a9fdbfcb993 -r d7f9b21fdfd2 lisp/subr.el --- a/lisp/subr.el Sun Apr 13 07:51:54 1997 +0000 +++ b/lisp/subr.el Sun Apr 13 08:08:11 1997 +0000 @@ -226,6 +226,12 @@ (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)