The last command executed.
Normally a symbol with a function definition, but can be whatever was found
in the keymap, or whatever the variable `this-command' was set to by that
The value `mode-exit' is special; it means that the previous command
read an event that told it to exit, and it did so and unread that event.
In other words, the present command is the event that made the previous
The value `kill-region' is special; it means that the previous command
was a kill command.
`last-command' has a separate binding for each terminal device. See Info node `(elisp)Multiple Terminals'.