Author: Kevin RodgersKevin Rodgers Date: Sep 9, 2008 00:26
Xah wrote:
> There's this-command-keys and this-command-keys-vector. Is there
> a command that returns using the syntax of keyboard macro like
> “M-‹key›” or “C-‹key›”? Or, how to convert the above to the macro
> syntax string?
,----[ C-h f key-description RET ]
| key-description is a built-in function in `C source code'.
| (key-description keys &optional prefix)
|
| Return a pretty description of key-sequence keys.
| Optional arg prefix is the sequence of keys leading up to keys.
| Control characters turn into "C-foo" sequences, meta into "M-foo",
| spaces are put between sequence elements, etc.
|
| [back]
`----
|