plexus / chemacs2

Emacs version switcher, improved
777 stars 46 forks source link

`restart-emacs` results in the default configuration loading #40

Open alexsieusahai opened 2 years ago

alexsieusahai commented 2 years ago

I apologize in advance if this is in rtfm territory, but it appears that if I load a non default profile via chemacs, like for example emacs --with-profile not-defualt-profile and I attempt to restart emacs with restart-emacs, it loads the default configuration instead of the configuration initially specified. This might be intended behavior but I couldn't find anything with a quick look through issues; I apologize if this is redundant or intended behavior.

plexus commented 2 years ago

No need to apologize @alexsieusahai. No one has brought this up before and I don't use restart-emacs myself. If someone feels like looking into what it would take to make that work then a PR for that would be most welcome!