From 2b73cf41e4511ea370b99c03d2166893f52ac8e2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 29 Apr 2019 14:43:42 +0200 Subject: [PATCH] Fixed tabbar-ruler weirdness. --- init.el | 15 +++++++-------- server/server | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/init.el b/init.el index fc04cc5..9555dbc 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-04-28T20:09:13+00:00> +;; Time-stamp: <2019-04-29T12:43:38+00:00> ;;; Commentary: ;; I am using this file with Emacs 26, but most of it will probably work with @@ -397,7 +397,7 @@ With argument, do this that many times." ;; Icons (required by doom). (use-package all-the-icons :config - (unless (member "all-the-icons" (font-family-list)) + (unless (file-exists-p "~/.local/share/fonts/all-the-icons.ttf") (all-the-icons-install-fonts t))) ;; Themes for doom-modeline. @@ -554,16 +554,15 @@ With argument, do this that many times." "Show tabbar if it is hidden." (when tabbar-ruler-tabbar-off (tabbar-mode 1) - (setq tabbar-ruler-tabbar-off nil) + (setq-local tabbar-ruler-tabbar-off nil) (ruler-mode -1) - (setq tabbar-ruler-ruler-off t))) - ;; Show tabbar after 5 seconds idle. - (run-with-idle-timer 5 t (lambda () (my/show-tabbar))) + (setq-local tabbar-ruler-ruler-off t))) + + ;; Show tabbar after 4 seconds idle. + (run-with-idle-timer 4 t (lambda () (my/show-tabbar))) :bind ("C-" . 'tabbar-ruler-tabbar-backward-tab) ("C-" . 'tabbar-ruler-tabbar-forward-tab) - :hook - (after-save . my/show-tabbar) :custom-face (tabbar-selected ((t (:background "gray11" diff --git a/server/server b/server/server index 4f381ed..d7a941b 100644 --- a/server/server +++ b/server/server @@ -1,2 +1,2 @@ -127.0.0.1:51313 861 +127.0.0.1:51313 9260 phahw2ohVoh0oopheish7IVie9desh8aequeenei3uo8wahShe%thuadaeNa4ieh \ No newline at end of file