summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-29 20:38:41 +0100
committerjao <jao@gnu.org>2022-08-29 20:38:41 +0100
commit3433b1ad85fdd23c18d11d899754633a035e7483 (patch)
tree82f94ad37c16afdd97c7bca7db3a04abe0f94701
parentefb556e41a90ecfa4c14de0033b087a5e91df214 (diff)
downloadelibs-3433b1ad85fdd23c18d11d899754633a035e7483.tar.gz
elibs-3433b1ad85fdd23c18d11d899754633a035e7483.tar.bz2
jao-tracking oops
-rw-r--r--init.el5
-rw-r--r--lib/eos/jao-tracking.el4
2 files changed, 5 insertions, 4 deletions
diff --git a/init.el b/init.el
index 38e9c86..c841bf1 100644
--- a/init.el
+++ b/init.el
@@ -755,8 +755,7 @@
:init (setq jao-tracking-bkg
(if (jao-colors-scheme-dark-p) "grey20" "grey93")
jao-tracking-use-scratch (not window-system))
- :config (jao-tracking-set-up)
- :bind (("C-c C-SPC" . jao-tracking-next-buffer)))
+ :config (jao-tracking-setup))
;;;; tmr
(use-package tmr
@@ -3126,7 +3125,7 @@
(defalias 'jao-streaming-like #'jao-spt-like)
(defalias 'jao-streaming-dislike #'jao-spt-dislike)))
-(defvar jao-spt-on t)
+(defvar jao-spt-on nil)
(defun jao-spt-on-p () jao-spt-on)
(jao-def-exec-in-term "spt" "spt" (jao-afio-goto-scratch t))
diff --git a/lib/eos/jao-tracking.el b/lib/eos/jao-tracking.el
index 386cc12..badffae 100644
--- a/lib/eos/jao-tracking.el
+++ b/lib/eos/jao-tracking.el
@@ -149,7 +149,9 @@
(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)))
- (add-hook 'jao-afio-switch-hook #'jao-tracking--remove-visible-buffers))
+ (add-hook 'jao-afio-switch-hook #'jao-tracking--remove-visible-buffers)
+ (global-set-key (kbd "C-c C-SPC") #'jao-tracking-next-buffer)
+ (define-key tracking-mode-map (kbd "C-c C-SPC") #'jao-tracking-next-buffer))
(provide 'jao-tracking)
;;; jao-minibuffer-tracking.el ends here