diff options
author | Raul Benencia <id@rbenencia.name> | 2022-08-20 11:37:16 -0700 |
---|---|---|
committer | Raul Benencia <id@rbenencia.name> | 2022-08-20 11:37:16 -0700 |
commit | 15241f44ca1d63ea78ac72ce935ea4f29959c0f2 (patch) | |
tree | 5e2a5bd915dfbb18556f453f483b71e6a037aa5e /.emacs.local.d | |
parent | 372d2f12df2ad3c15def6a34bd5e6ad33f77d117 (diff) |
emacs: tab-bar fix
Diffstat (limited to '.emacs.local.d')
-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) |