diff options
Diffstat (limited to '.emacs.local.d/modes/tabbar.el')
-rw-r--r-- | .emacs.local.d/modes/tabbar.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.local.d/modes/tabbar.el b/.emacs.local.d/modes/tabbar.el index bde615e..3446234 100644 --- a/.emacs.local.d/modes/tabbar.el +++ b/.emacs.local.d/modes/tabbar.el @@ -5,8 +5,8 @@ "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 (string= "-" project-name) - (tab-bar-tab-name-current) + (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) |