aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d')
-rw-r--r--.emacs.local.d/modes/tabbar.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/.emacs.local.d/modes/tabbar.el b/.emacs.local.d/modes/tabbar.el
index 3446234..787b88c 100644
--- a/.emacs.local.d/modes/tabbar.el
+++ b/.emacs.local.d/modes/tabbar.el
@@ -1,16 +1,6 @@
(global-set-key (kbd "C-<next>") 'tab-bar-switch-to-next-tab)
(global-set-key (kbd "C-<prior>") 'tab-bar-switch-to-prev-tab)
-(defun my/tab-bar-tab-name-function ()
- "Return project name if in a project, or default tab-bar name if not.
-The default tab-bar name uses the buffer name."
- (let ((project-name (projectile-project-name)))
- (if (not project-name)
- (tab-bar-tab-name-current-with-count)
- (projectile-project-name))))
-
-(setq tab-bar-tab-name-function #'my/tab-bar-tab-name-function)
-
;; Only show the tab bar if there are 2 or more tabs
(setq tab-bar-show 1)
nihil fit ex nihilo