plexus / chemacs2

Emacs version switcher, improved
779 stars 47 forks source link

DOOMDIR doesn't take effect #59

Closed jam1015 closed 1 month ago

jam1015 commented 1 month ago

I try to specify the doom emacs config for as shown in the README. It doesn't work, it only accepts ~/.doom.d

It DOES work for spacemacs as shown in the README

Wondering if anyone else is having this problem.

The issue could be with changes in doom emacs and not chemacs2

I'm running the latest version of emacs without native comp on endeacourOS

jam1015 commented 1 month ago

edit: somehow doom sync fixed it. Don't remember exactly what I did; might have mad doom my main emacs config and run sync. But now its' taking my doom config, and even multiple separate doom configs. Mission accomplished.

jam1015 commented 1 month ago

after further experimentation, you should set the DOOMDIR environment variable to one of your doom configs specified in your chemacs config, and then run sync. As long as that directory exists, doom emacs will correctly follow the doom config specified.