lastquestion / explain-pause-mode

top, but for Emacs.
GNU General Public License v3.0
240 stars 6 forks source link

Support emacs 27+ early init #63

Open lastquestion opened 4 years ago

lastquestion commented 4 years ago

Currently, when we notice we are in init, we install during emacs-startup-hook, which is extremely late.

The reason why is because someone could run advised-code in init.el or as a -f command arg, and because explain-pause-mode itself was also called during that same phase, we cannot guarentee we have a clean state to install all hooks and setup the command stack.