real-last-command

real-last-command is a variable defined in `C source code'.
Its value is
nil

It is a terminal-local variable; global value is the same.
  • This variable may be risky if used as a file-local variable.

Documentation:
Same as `last-command', but never altered by Lisp code.
Taken from the previous value of `real-this-command'.