From 15241f44ca1d63ea78ac72ce935ea4f29959c0f2 Mon Sep 17 00:00:00 2001
From: Raul Benencia <id@rbenencia.name>
Date: Sat, 20 Aug 2022 11:37:16 -0700
Subject: emacs: tab-bar fix

---
 .emacs.local.d/modes/tabbar.el | 4 ++--
 1 file 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)
-- 
cgit v1.2.3