I am trying to hide the mode line (
modeline module) when the dashboard (
doom-dashboard module) opens. Following Tecosaur’s splash screen configuration, I added
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1)) to my
config.org. However, when I open emacs, the modeline still appears in the dashboard:
The dashboard should open with no modeline, and should look like:
I can indeed achieve this state when the dashboard loads with the modeline if I do
M-x hide-mode-line-mode. Thus, it would appear that
(hide-mode-line-mode 1) is not run as a hook.
- Open Emacs
- The modeline is showing
Why is the mode line still appearing in the dashboard? How can I go about debugging hooks and the order in which functions are run when entering a major mode?
Loading data dump...