I was wondering why during startup there was a noticeable pause just after enabling modeline-mode. Typically when I startup my emacs it's immediately responsive. I realized that the function mini-modeline--enable calls redisplay and I believe this causes this delay.
After advising the modeline-mode, temporarily setting redisplay to ignore during its evaluation, the problem was gone.
I was wondering why during startup there was a noticeable pause just after enabling
modeline-mode
. Typically when I startup my emacs it's immediately responsive. I realized that the functionmini-modeline--enable
callsredisplay
and I believe this causes this delay.After advising the
modeline-mode
, temporarily settingredisplay
toignore
during its evaluation, the problem was gone.