Closed emacs18 closed 4 years ago
This follows https://github.com/plexus/chemacs/pull/38 which was my earlier feeble attempt.
I think I like this one better, because early-init.el
is loaded at more appropriate time.
For folks following along at home, we are going ahead with the early-init support in a separate repo, https://github.com/plexus/chemacs2/pull/1
This is just for discussing the possibility of having chemacs take over both files to allow loading of profile specific
early-init.el
file at appropriate time. User must setup both files like this:~/.emacs.d/early-init.el
and~/.emacs.d/init.el
must be either symlinks or copies ofchemacs/.emacs
.This patch modifies
chemacs/.emacs
so thatearly-init.el
, then load profile specificearly-init.el
init.el
, then load profile specificinit.el
I examined emacs startup code. I discovered that
custom-delayed-init-variables
can be used to distinguish between the two files. Until we find something better, this could work I think.