Emacs: how to disable 'file changed on disk' checking?

前端 未结 4 1311
一生所求
一生所求 2020-12-08 10:38

How to disable Emacs from checking the buffer file was changed outside the editor?

4条回答
  •  一向
    一向 (楼主)
    2020-12-08 11:27

    I had annoyance with this because every time I switched branches in git, emacs thought all my files had changed.

    Revbuffs helps you cope with the symptoms of this. It allows you to cause all your buffers to be reloaded.

    You can also try (global-auto-revert-mode) which will automatically revert your files to what's on disk.

提交回复
热议问题