about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-07-30T01·47-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-07-30T01·47-0400
commit5d8c7aa8080f84f393fc5ff1706a307d53c8b339 (patch)
tree8253cc4889842268a5e4ae68fe7b1d3986cac166 /configs
parent577fd84fdb6ba5ae2adde1afc5ce51c9219f7b38 (diff)
Adds hook to conditionally activate emacs tabbar
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.emacs3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/shared/.emacs b/configs/shared/.emacs
index dd3fd96b4140..22434b7ba168 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))