How to view history of various commands in Emacs

后端 未结 3 410
日久生厌
日久生厌 2021-02-07 07:51

Commands entered after pressing M-x can be viewed using the up/down arrow keys.

How can I get a list of all the commands includ

3条回答
  •  余生分开走
    2021-02-07 08:10

    So you want the history of of all commands, regardless of where they are executed? I don't know if emacs provides this by default, but you can add your own function to post-command-hook which is executed after every command, so you can use it to collect all the executed commands.

提交回复
热议问题