clear-this-command-keys

clear-this-command-keys is a built-in function in `C source code'.

(clear-this-command-keys &optional KEEP-RECORD)

Clear out the vector that `this-command-keys' returns.
Also clear the record of the last 100 events, unless optional arg
KEEP-RECORD is non-nil.