mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Add doom-modeline-set-main-modeline function.
This commit is contained in:
parent
0e4699dd0e
commit
65bbf5023e
1 changed files with 7 additions and 2 deletions
|
@ -2047,11 +2047,16 @@ mouse-1: Toggle Debug on Quit"
|
||||||
;; 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 'main)))))
|
(doom-modeline-set-main-modeline)))))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
|
(defun doom-modeline-set-main-modeline ()
|
||||||
|
"Set main mode-line."
|
||||||
|
(doom-modeline-set-modeline 'main))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom-modeline-set-minimal-modeline ()
|
(defun doom-modeline-set-minimal-modeline ()
|
||||||
"Set sepcial mode-line."
|
"Set minimal mode-line."
|
||||||
(doom-modeline-set-modeline 'minimal))
|
(doom-modeline-set-modeline 'minimal))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Reference in a new issue