Ok, let’s compile this stuff

C-x-

wait, it was in the C-c keymap. Let’s cancel this keybinding by… um… pressing ESC repeatedly?

C-x ESC ESC: executes (repeat-complex-command)

How can one cancel the current key chain in Emacs? I also tried C-x C-g but i get a message C-x C-g is undefined which makes me think that it isn’t reserved for this kind of purpose.