Function: this-single-command-keys
this-single-command-keys is a function defined in keyboard.c.
Signature
(this-single-command-keys)
Documentation
Return the key sequence that invoked this command.
More generally, it returns the last key sequence read, either by
the command loop or by read-key-sequence.
The value is always a vector.
Source Code
// Defined in /usr/src/emacs/src/keyboard.c
{
ptrdiff_t nkeys = this_command_key_count - this_single_command_key_start;
return Fvector (nkeys < 0 ? 0 : nkeys,
(XVECTOR (this_command_keys)->contents
+ this_single_command_key_start));
}