How to start up emacs with different configurations

前端 未结 3 1634
再見小時候
再見小時候 2020-12-03 04:30

I often come across the following popular emacs builds:

  • graphene
  • prelude
  • emacs-live

Currently I\'m running a custom configurat

3条回答
  •  既然无缘
    2020-12-03 04:54

    I create ~/.emacs.1.d/init.el file , and give it content:

    (setq user-emacs-directory "~/.emacs.1.d/")
    

    then , start emacs like this emacs -q -l ~/.emacs.1.d/init.el , now emacs used new configration.

    success!!

    • -q is means skip the default configration ~/.emacs.d/init.el
    • -l is means load new configration

提交回复
热议问题