Show tabbar timer reduced to 2 seconds.

This commit is contained in:
tastytea 2019-04-29 18:39:32 +02:00
parent cace85c116
commit 319648f5fb

View File

@ -1,5 +1,5 @@
;;; init.el --- tastytea's Emacs init file. ;;; init.el --- tastytea's Emacs init file.
;; Time-stamp: <2019-04-29T13:22:38+00:00> ;; Time-stamp: <2019-04-29T16:17:54+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
@ -561,8 +561,8 @@ With argument, do this that many times."
(ruler-mode -1) (ruler-mode -1)
(setq-local tabbar-ruler-ruler-off t))) (setq-local tabbar-ruler-ruler-off t)))
;; Show tabbar after 4 seconds idle. ;; Show tabbar after 2 seconds idle.
(run-with-idle-timer 4 t (lambda () (my/show-tabbar))) (run-with-idle-timer 2 t (lambda () (my/show-tabbar)))
: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)