Ensure *Messages* and *scratch* have a modeline
This commit is contained in:
parent
7872faad3a
commit
a5bb69cf6a
|
@ -604,10 +604,11 @@ Returns \"\" to not break --no-window-system."
|
||||||
"Set the default modeline."
|
"Set the default modeline."
|
||||||
(doom-set-modeline 'main t)
|
(doom-set-modeline 'main t)
|
||||||
|
|
||||||
;; This scratch buffer is already created and doesn't get a modeline. For the
|
;; These buffers are already created and don't get modelines. For the love of
|
||||||
;; love of Emacs, someone give the man a modeline!
|
;; Emacs, someone give the man a modeline!
|
||||||
(with-current-buffer "*scratch*"
|
(dolist (bname '("*scratch*" "*Messages*"))
|
||||||
(doom-set-modeline 'main)))
|
(with-current-buffer bname
|
||||||
|
(doom-set-modeline 'main))))
|
||||||
|
|
||||||
(defun +doom-modeline|set-special-modeline ()
|
(defun +doom-modeline|set-special-modeline ()
|
||||||
(doom-set-modeline 'special))
|
(doom-set-modeline 'special))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user