From 5d8c7aa8080f84f393fc5ff1706a307d53c8b339 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 29 Jul 2017 21:47:48 -0400 Subject: [PATCH] Adds hook to conditionally activate emacs tabbar --- configs/shared/.emacs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/shared/.emacs b/configs/shared/.emacs index dd3fd96b4..22434b7ba 100644 --- a/configs/shared/.emacs +++ b/configs/shared/.emacs @@ -164,7 +164,8 @@ (tabbar-local-mode -1) (tabbar-local-mode 1))) - (add-hook 'after-change-major-mode-hook 'wc/conditionally-activate-tabbar) + (add-hook 'emacs-startup-hook #'wc/conditionally-activate-tabbar) + (add-hook 'after-change-major-mode-hook #'wc/conditionally-activate-tabbar) (tabbar-mode))