diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/eos/jao-minibuffer.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el index 4e5abf5..ba27ce5 100644 --- a/lib/eos/jao-minibuffer.el +++ b/lib/eos/jao-minibuffer.el @@ -167,9 +167,6 @@ (setq-default mode-line-position jao-minibuffer--mode-line-position) (dolist (b (buffer-list)) (with-current-buffer b (setq-local mode-line-format '(" ")))) - (advice-add 'force-mode-line-update :after #'jao-minibuffer-refresh) - (advice-add 'select-window :after #'jao-minibuffer-refresh) - ;; (add-hook 'window-selection-change-functions #'jao-minibuffer-refresh) (jao-minibuffer-add-variable 'jao-minibuffer--mode-line-format order) (jao-minibuffer-adjust-mode-line-faces)) @@ -194,6 +191,9 @@ (setq set-message-function #'jao-minibuffer--format-msg) (setq clear-message-function #'jao-minibuffer-refresh) +;; (add-hook 'window-selection-change-functions #'jao-minibuffer-refresh) +(advice-add 'select-window :after #'jao-minibuffer-refresh) +(advice-add 'force-mode-line-update :after #'jao-minibuffer-refresh) (provide 'jao-minibuffer) ;;; jao-minibuffer.el ends here |