Replaced obsolete function doom-modeline-init
doom-modeline-init was marked as obsolete in version: 1.6.0.
Add new mode: doom-modeline-mode.
868f1bb00b
The doom-modeline package is currently at version: 2.6.2.
This commit is contained in:
parent
623ca354fe
commit
ea11a256fd
|
@ -1216,6 +1216,8 @@ Other:
|
||||||
- Fixed =spacemacs/rename-current-buffer-file= handle same new and old name
|
- Fixed =spacemacs/rename-current-buffer-file= handle same new and old name
|
||||||
(thanks to duianto)
|
(thanks to duianto)
|
||||||
- Fixed sudo-edit on TRAMP (thanks to Carlos Ibáñez)
|
- Fixed sudo-edit on TRAMP (thanks to Carlos Ibáñez)
|
||||||
|
- Replaced obsolete function =doom-modeline-init= with =doom-modeline-mode=
|
||||||
|
(thanks to duianto)
|
||||||
*** Layer changes and fixes
|
*** Layer changes and fixes
|
||||||
**** Agda
|
**** Agda
|
||||||
- Fixes
|
- Fixes
|
||||||
|
|
|
@ -35,11 +35,7 @@
|
||||||
(use-package doom-modeline
|
(use-package doom-modeline
|
||||||
:defer t
|
:defer t
|
||||||
:if (eq (spacemacs/get-mode-line-theme-name) 'doom)
|
:if (eq (spacemacs/get-mode-line-theme-name) 'doom)
|
||||||
:init
|
:init (doom-modeline-mode)))
|
||||||
(progn
|
|
||||||
(setq-default doom-modeline-display-default-persp-name
|
|
||||||
dotspacemacs-display-default-layout)
|
|
||||||
(doom-modeline-init))))
|
|
||||||
|
|
||||||
(defun spacemacs-modeline/init-fancy-battery ()
|
(defun spacemacs-modeline/init-fancy-battery ()
|
||||||
(use-package fancy-battery
|
(use-package fancy-battery
|
||||||
|
@ -151,11 +147,11 @@
|
||||||
(message "Update aborted."))))
|
(message "Update aborted."))))
|
||||||
map)))
|
map)))
|
||||||
(spaceline-define-segment
|
(spaceline-define-segment
|
||||||
new-version
|
new-version
|
||||||
(when spacemacs-new-version
|
(when spacemacs-new-version
|
||||||
(spacemacs-powerline-new-version
|
(spacemacs-powerline-new-version
|
||||||
(spacemacs/get-new-version-lighter-face
|
(spacemacs/get-new-version-lighter-face
|
||||||
spacemacs-version spacemacs-new-version))))
|
spacemacs-version spacemacs-new-version))))
|
||||||
(let ((theme (intern (format "spaceline-%S-theme"
|
(let ((theme (intern (format "spaceline-%S-theme"
|
||||||
(spacemacs/get-mode-line-theme-name)))))
|
(spacemacs/get-mode-line-theme-name)))))
|
||||||
(apply theme spacemacs-spaceline-additional-segments))
|
(apply theme spacemacs-spaceline-additional-segments))
|
||||||
|
|
Loading…
Reference in a new issue