Function: this-command-keys
this-command-keys is a function defined in keyboard.c.
Signature
(this-command-keys)
Documentation
Return the key sequence that invoked this command.
However, if the command has called read-key-sequence, it returns
the last key sequence that has been read.
The value is a string or a vector.
See also this-command-keys-vector.
Probably introduced at or before Emacs version 19.30.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
{
return make_event_array (this_command_key_count,
XVECTOR (this_command_keys)->contents);
}