Skip to content

Commit

Permalink
feat(functions): Remove Emacs tabs from tab grouping logic
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Dec 4, 2024
1 parent 491b682 commit 3183329
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions centaur-tabs-functions.el
Original file line number Diff line number Diff line change
Expand Up @@ -1330,15 +1330,14 @@ Other buffer group by `centaur-tabs-get-group-name' with project name."
(cond
((when-let ((project-name (centaur-tabs-project-name)))
project-name))
((or (string-equal "*" (substring (buffer-name) 0 1))
(memq major-mode '( magit-process-mode
magit-status-mode
magit-diff-mode
magit-log-mode
magit-file-mode
magit-blob-mode
magit-blame-mode)))
"Emacs")
((memq major-mode '( magit-process-mode
magit-status-mode
magit-diff-mode
magit-log-mode
magit-file-mode
magit-blob-mode
magit-blame-mode))
"Magit")
((derived-mode-p 'shell-mode) "Shell")
((derived-mode-p 'eshell-mode) "EShell")
((derived-mode-p 'emacs-lisp-mode) "Elisp")
Expand Down

0 comments on commit 3183329

Please sign in to comment.