aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2023-01-01 09:08:47 -0800
committerRaul Benencia <id@rbenencia.name>2023-01-01 09:08:47 -0800
commit106e36ff672667a86b3b14438863cb053b66563e (patch)
tree8782add15f7ce299e9c61d28a224b95f03ae3aa4 /.emacs.local.d/modes
parent1f945f6d213e02e82d7fd670e29eec88899276b2 (diff)
emacs: disable custom tab names
Diffstat (limited to '.emacs.local.d/modes')
-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