Autoload more functions.

This commit is contained in:
Vincent Zhang 2018-07-02 17:36:43 +08:00
parent f6f73ddddb
commit 335074b2b5

View file

@ -966,14 +966,17 @@ enabled."
(with-current-buffer bname (with-current-buffer bname
(doom-modeline-set-modeline 'main))))) (doom-modeline-set-modeline 'main)))))
;;;###autoload
(defun doom-modeline-set-special-modeline () (defun doom-modeline-set-special-modeline ()
"Set sepcial mode-line." "Set sepcial mode-line."
(doom-modeline-set-modeline 'special)) (doom-modeline-set-modeline 'special))
;;;###autoload
(defun doom-modeline-set-media-modeline () (defun doom-modeline-set-media-modeline ()
"Set media mode-line." "Set media mode-line."
(doom-modeline-set-modeline 'media)) (doom-modeline-set-modeline 'media))
;;;###autoload
(defun doom-modeline-set-project-modeline () (defun doom-modeline-set-project-modeline ()
"Set project mode-line." "Set project mode-line."
(doom-modeline-set-modeline 'project)) (doom-modeline-set-modeline 'project))