Function: this-command-keys-vector

this-command-keys-vector is a function defined in keyboard.c.

Signature

(this-command-keys-vector)

Documentation

Return the key sequence that invoked this command, as a vector.

However, if the command has called read-key-sequence, it returns the last key sequence that has been read.

See also this-command-keys.

View in manual

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
{
  return Fvector (this_command_key_count,
		  XVECTOR (this_command_keys)->contents);
}