diff options
author | jao <jao@gnu.org> | 2021-11-09 02:14:52 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-11-09 02:15:09 +0000 |
commit | d36150314e4af49b09febe7773aef5475851834d (patch) | |
tree | b48c2f1ed93c66bd2e3d8347ea2ec41f58a3336a /lib | |
parent | 86ec0408bb7c4e474e55e7ab5580bb7bce8a2782 (diff) | |
download | elibs-d36150314e4af49b09febe7773aef5475851834d.tar.gz elibs-d36150314e4af49b09febe7773aef5475851834d.tar.bz2 |
minibuffer nits
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 |