Assign main mode-line to special buffers ("*scratch*" "*Messages*").

This commit is contained in:
Vincent Zhang 2018-08-14 21:39:59 +08:00
parent 74c84537bd
commit 79bfab380c

View file

@ -1066,7 +1066,7 @@ See `mode-line-percent-position'.")
;; of Emacs, someone give the man a modeline!
(dolist (bname '("*scratch*" "*Messages*"))
(with-current-buffer bname
(doom-modeline-set-modeline 'special)))))
(doom-modeline-set-modeline 'main)))))
;;;###autoload
(defun doom-modeline-set-special-modeline ()