Only show tabbar if it is hidden.

This commit is contained in:
tastytea 2019-04-25 15:22:25 +02:00
parent 8aa0fb6358
commit dc1c611eaa
2 changed files with 7 additions and 7 deletions

12
init.el
View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-04-25T13:10:19+00:00> ;; Time-stamp: <2019-04-25T13:21:07+00:00>
;;; Commentary: ;;; Commentary:
;; I am using this file with Emacs 26, but most of it will probably work with ;; I am using this file with Emacs 26, but most of it will probably work with
@ -547,11 +547,11 @@ With argument, do this that many times."
;; Show tabbar after 5 seconds idle. ;; Show tabbar after 5 seconds idle.
(run-with-idle-timer 5 t (lambda () (run-with-idle-timer 5 t (lambda ()
(tabbar-mode 1) (when tabbar-ruler-tabbar-off
(setq tabbar-ruler-tabbar-off nil) (tabbar-mode 1)
(ruler-mode -1) (setq tabbar-ruler-tabbar-off nil)
(setq tabbar-ruler-ruler-off t) (ruler-mode -1)
)) (setq tabbar-ruler-ruler-off t))))
:bind :bind
("C-<prior>" . 'tabbar-ruler-tabbar-backward-tab) ("C-<prior>" . 'tabbar-ruler-tabbar-backward-tab)
("C-<next>" . 'tabbar-ruler-tabbar-forward-tab) ("C-<next>" . 'tabbar-ruler-tabbar-forward-tab)

View File

@ -1,2 +1,2 @@
127.0.0.1:51313 2299 127.0.0.1:51313 12350
phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh