From b646b75ece2953a0e0ce3d32e489bbd6f225dec4 Mon Sep 17 00:00:00 2001 From: duianto Date: Sat, 27 Oct 2018 19:59:50 +0200 Subject: [PATCH] Fix doom-modeline in the messages buffer problem: the doom-modeline isn't applied to the messages buffer solution: call `(doom-modeline-init)` without a hook --- CHANGELOG.develop | 1 + layers/+spacemacs/spacemacs-modeline/packages.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 51068794d..85f853a32 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -921,6 +921,7 @@ Other: - Fixed evil surround bindings (thanks to Hoyon Mak) - Improved Window Manipulation Transient state (thanks to yuhan0) - Exclude which-key from layer sync powerline restore (thanks to Doug Wilson) + - Fix doom-modeline in the messages buffer (thanks to duianto) *** Layer changes and fixes **** Ansible - Improvements: diff --git a/layers/+spacemacs/spacemacs-modeline/packages.el b/layers/+spacemacs/spacemacs-modeline/packages.el index 38c416e1d..328e21a8e 100644 --- a/layers/+spacemacs/spacemacs-modeline/packages.el +++ b/layers/+spacemacs/spacemacs-modeline/packages.el @@ -35,7 +35,7 @@ (use-package doom-modeline :defer t :if (eq (spacemacs/get-mode-line-theme-name) 'doom) - :init (add-hook 'after-init-hook 'doom-modeline-init))) + :init (doom-modeline-init))) (defun spacemacs-modeline/init-fancy-battery () (use-package fancy-battery