this-original-command

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

  • This variable may be risky if used as a file-local variable.

Documentation:
The command bound to the current key sequence before remapping.
It equals `this-command' if the original command was not remapped through
any of the active keymaps. Otherwise, the value of `this-command' is the
result of looking up the original command in the active keymaps.