Update instructions for Chemacs2
Chemacs doesn't works since early-init.el was introduced
This commit is contained in:
parent
47925933df
commit
3e5ccb4963
1 changed files with 8 additions and 10 deletions
|
@ -504,8 +504,8 @@ emacs --batch -f all-the-icons-install-fonts
|
||||||
To understand the purpose of the =~/.doom.d= directory and =~/.doom.d/init.el=
|
To understand the purpose of the =~/.doom.d= directory and =~/.doom.d/init.el=
|
||||||
file, see the [[#configure][Configure]] section further below.
|
file, see the [[#configure][Configure]] section further below.
|
||||||
|
|
||||||
*** Install Doom alongside other configs (with Chemacs)
|
*** Install Doom alongside other configs (with Chemacs2)
|
||||||
[[https://github.com/plexus/chemacs][Chemacs]] is a bootloader for Emacs. It allows you to switch between multiple
|
[[https://github.com/plexus/chemacs2][Chemacs2]] is a bootloader for Emacs. It allows you to switch between multiple
|
||||||
Emacs configurations. Here is a quick guide for setting it up with Doom Emacs as
|
Emacs configurations. Here is a quick guide for setting it up with Doom Emacs as
|
||||||
the default config:
|
the default config:
|
||||||
|
|
||||||
|
@ -515,22 +515,20 @@ the default config:
|
||||||
~/doom-emacs/bin/doom install
|
~/doom-emacs/bin/doom install
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
2. Download [[https://raw.githubusercontent.com/plexus/chemacs/master/.emacs][the Chemacs' startup script]] to =~/.emacs=:
|
2. Move aside any existing config and install Chemacs2 as your new =~/.emacs.d=:
|
||||||
#+BEGIN_SRC bash :eval no
|
#+BEGIN_SRC bash :eval no
|
||||||
wget -O ~/.emacs https://raw.githubusercontent.com/plexus/chemacs/master/.emacs
|
[ -f ~/.emacs ] && mv ~/.emacs ~/.emacs.bak
|
||||||
|
[ -d ~/.emacs.d ] && mv ~/.emacs.d ~/.emacs.legacy
|
||||||
|
git clone https://github.com/plexus/chemacs2.git ~/.emacs.d
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+begin_quote
|
|
||||||
*WARNING:* the =~/.emacs.d= directory must not exist for this to work.
|
|
||||||
#+end_quote
|
|
||||||
|
|
||||||
3. Create =~/.emacs-profiles.el= with a list of your Emacs profiles. This file
|
3. Create =~/.emacs-profiles.el= with a list of your Emacs profiles. This file
|
||||||
is structured like a =.dir-locals.el= file. Here is an example with Doom (as
|
is structured like a =.dir-locals.el= file. Here is an example with Doom (as
|
||||||
the default), Spacemacs, and Prelude:
|
the default), Spacemacs, and Prelude:
|
||||||
#+BEGIN_SRC emacs-lisp :eval no
|
#+BEGIN_SRC emacs-lisp :eval no
|
||||||
(("default" . ((user-emacs-directory . "~/doom-emacs")))
|
(("default" . ((user-emacs-directory . "~/doom-emacs")))
|
||||||
("spacemacs" . ((user-emacs-directory . "~/spacemacs")))
|
("legacy" . ((user-emacs-directory . "~/.emacs.legacy")))
|
||||||
("prelude" . ((user-emacs-directory . "~/prelude"))))
|
("spacemacs" . ((user-emacs-directory . "~/spacemacs"))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
To start Emacs with a specific config, use the =--with-profile= option:
|
To start Emacs with a specific config, use the =--with-profile= option:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue