Variable: tab-bar-new-tab-group
tab-bar-new-tab-group is a customizable variable defined in
tab-bar.el.gz.
Value
t
Documentation
Defines what group to assign to a new tab.
If nil, don't set a default group automatically. If t, inherit the group name from the previous tab. If the value is a string, use it as the group name of a new tab. If the value is a function, call it with no arguments to get the group name.
This variable was added, or its default value changed, in Emacs 28.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/tab-bar.el.gz
(defcustom tab-bar-new-tab-group t
"Defines what group to assign to a new tab.
If nil, don't set a default group automatically.
If t, inherit the group name from the previous tab.
If the value is a string, use it as the group name of a new tab.
If the value is a function, call it with no arguments
to get the group name."
:type '(choice (const :tag "No automatic group" nil)
(const :tag "Inherit group from previous tab" t)
(string :tag "Fixed group name")
(function :tag "Function that returns group name"))
:group 'tab-bar
:version "28.1")