How can I reload .emacs after changing it?

前端 未结 18 859
余生分开走
余生分开走 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:22

    Beside commands like M-x eval-buffer or M-x load-file you can restart a fresh emacs from the command line:

    emacs -q --load "init.el"
    

    Usage example stackoverflow.com/questions/44959535/company-backends-in-gnu-emacs/

提交回复
热议问题