mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Assign main mode-line to special buffers ("*scratch*" "*Messages*").
This commit is contained in:
parent
74c84537bd
commit
79bfab380c
1 changed files with 1 additions and 1 deletions
|
@ -1066,7 +1066,7 @@ See `mode-line-percent-position'.")
|
||||||
;; of Emacs, someone give the man a modeline!
|
;; of Emacs, someone give the man a modeline!
|
||||||
(dolist (bname '("*scratch*" "*Messages*"))
|
(dolist (bname '("*scratch*" "*Messages*"))
|
||||||
(with-current-buffer bname
|
(with-current-buffer bname
|
||||||
(doom-modeline-set-modeline 'special)))))
|
(doom-modeline-set-modeline 'main)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-modeline-set-special-modeline ()
|
(defun doom-modeline-set-special-modeline ()
|
||||||
|
|
Loading…
Reference in a new issue