How can I reload .emacs after changing it?

前端 未结 18 865
余生分开走
余生分开走 2020-12-12 08:51

How can I get Emacs to reload all my definitions that I have updated in .emacs without restarting Emacs?

18条回答
  •  既然无缘
    2020-12-12 09:31

    Define it in your init file and call by M-x reload-user-init-file

    (defun reload-user-init-file()
      (interactive)
      (load-file user-init-file))
    

提交回复
热议问题