Reload .emacs for all active buffers

后端 未结 2 940
一向
一向 2020-12-29 10:33

A question already has been asked how to reload a .emacs file after changing it.

The proposed solutions were to use M-x load-file or M-x eval-regi

2条回答
  •  不知归路
    2020-12-29 11:00

    This may strike you as brute force, but

    • it will certainly reload your init file (consider alternatives to .emacs)
    • it will reload all open buffers (provided you are using desktop, which you should)
    • it is easy

      C-x C-c
      emacs --debug-init &
      

提交回复
热议问题