From cb1727d95623e178b7bc0cb8559ca5b352ced886 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 25 Oct 2018 16:57:17 +0800 Subject: [PATCH] Fix: update ace-window parameter for all windows. --- doom-modeline.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doom-modeline.el b/doom-modeline.el index 0948a8a..dc62a64 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -121,6 +121,7 @@ The icons may not be showed correctly on Windows. Disable to make it work.") (declare-function anzu--reset-status 'anzu) (declare-function anzu--where-is-here 'anzu) +(declare-function aw-update 'ace-window) (declare-function eldoc-in-minibuffer-mode 'eldoc-eval) (declare-function evil-delimited-arguments 'evil-common) (declare-function evil-state-property 'evil-common) @@ -982,6 +983,7 @@ with `evil-ex-substitute', and/or 4. The number of active `iedit' regions." (setq mode-line-format (assq-delete-all 'ace-window-display-mode (default-value 'mode-line-format))) + (aw-update) (window-parameter (selected-window) 'ace-window-path)) ((bound-and-true-p winum-mode) (setq winum-auto-setup-mode-line nil)