From a5bb69cf6a73729d3192234f3be25ff09d3149c3 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 7 Jan 2018 00:35:23 -0500 Subject: [PATCH] Ensure *Messages* and *scratch* have a modeline --- modules/ui/doom-modeline/config.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/ui/doom-modeline/config.el b/modules/ui/doom-modeline/config.el index 3e9106018..c4d16bdc1 100644 --- a/modules/ui/doom-modeline/config.el +++ b/modules/ui/doom-modeline/config.el @@ -604,10 +604,11 @@ Returns \"\" to not break --no-window-system." "Set the default modeline." (doom-set-modeline 'main t) - ;; This scratch buffer is already created and doesn't get a modeline. For the - ;; love of Emacs, someone give the man a modeline! - (with-current-buffer "*scratch*" - (doom-set-modeline 'main))) + ;; These buffers are already created and don't get modelines. For the love of + ;; Emacs, someone give the man a modeline! + (dolist (bname '("*scratch*" "*Messages*")) + (with-current-buffer bname + (doom-set-modeline 'main)))) (defun +doom-modeline|set-special-modeline () (doom-set-modeline 'special))