I have about 400 files open in my Emacs session. I was configuring some modes and all my buffers changed to fundamental-mode
.
Now, when I open a file Emacs chooses the correct major mode, but the already opened files are still in fundamental mode. How do I force Emacs to reopen all the opened files and choose the right mode for each of them?