diff options
-rw-r--r-- | lib/eos/jao-tracking.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el index 1397791..85c78db 100644 --- a/lib/eos/jao-tracking.el +++ b/lib/eos/jao-tracking.el @@ -107,17 +107,13 @@ (setq jao-tracking-string (jao-tracking-build-str (tracking-status))) (jao-minibuffer-refresh)) -(advice-add 'force-mode-line-update :after #'jao-tracking-update-minibuffer) - (defun jao-tracking-echo (_sym new-val _op _where) (setq jao-tracking-string (jao-tracking-build-str new-val)) (jao-minibuffer-refresh)) (jao-minibuffer-add-variable 'jao-tracking-string -10) - -;; (add-variable-watcher 'tracking-mode-line-buffers #'jao-tracking-echo) +(add-variable-watcher 'tracking-mode-line-buffers #'jao-tracking-echo) ;; since we're using the minibuffer, forget the mode line - (advice-add #'tracking-mode :override (lambda (&optional _) (interactive))) (provide 'jao-tracking) |