diff options
-rw-r--r-- | init.org | 4 | ||||
-rw-r--r-- | lib/eos/jao-minibuffer.el | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -762,8 +762,8 @@ (defun jao-tracking-next-buffer () (interactive) - (jao-afio--goto-main) - (tracking-next-buffer)) + (tracking-next-buffer) + (jao-tracking-update-minibuffer)) :bind (("C-c C-SPC" . jao-tracking-next-buffer))) 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 |