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.
;; Time-stamp: <2019-04-25T13:10:19+00:00>
;; Time-stamp: <2019-04-25T13:21:07+00:00>
;;; Commentary:
;; 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.
(run-with-idle-timer 5 t (lambda ()
(tabbar-mode 1)
(setq tabbar-ruler-tabbar-off nil)
(ruler-mode -1)
(setq tabbar-ruler-ruler-off t)
))
(when tabbar-ruler-tabbar-off
(tabbar-mode 1)
(setq tabbar-ruler-tabbar-off nil)
(ruler-mode -1)
(setq tabbar-ruler-ruler-off t))))
:bind
("C-<prior>" . 'tabbar-ruler-tabbar-backward-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