Fix: update ace-window parameter for all windows.

This commit is contained in:
Vincent Zhang 2018-10-25 16:57:17 +08:00
parent c3a3af60b4
commit cb1727d956

View file

@ -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--reset-status 'anzu)
(declare-function anzu--where-is-here 'anzu) (declare-function anzu--where-is-here 'anzu)
(declare-function aw-update 'ace-window)
(declare-function eldoc-in-minibuffer-mode 'eldoc-eval) (declare-function eldoc-in-minibuffer-mode 'eldoc-eval)
(declare-function evil-delimited-arguments 'evil-common) (declare-function evil-delimited-arguments 'evil-common)
(declare-function evil-state-property '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 (setq mode-line-format
(assq-delete-all 'ace-window-display-mode (assq-delete-all 'ace-window-display-mode
(default-value 'mode-line-format))) (default-value 'mode-line-format)))
(aw-update)
(window-parameter (selected-window) 'ace-window-path)) (window-parameter (selected-window) 'ace-window-path))
((bound-and-true-p winum-mode) ((bound-and-true-p winum-mode)
(setq winum-auto-setup-mode-line nil) (setq winum-auto-setup-mode-line nil)