I executed C-x M-k to kill a paragraph in Emacs. The echo area showed C-x M-k, as expected.
However, is it possible to (also) show the name of the last command just executed, for reference? This would be useful for learning purposes, as well as confirming that the command executed was the command intended.
This isn’t necessarily a good idea, but you can advise
call-interactivelyto do what you say:To turn this off, run
(ad-unadvise 'call-interactively).