Don't display hints when tab-bar-show-inactive-group-tabs is customized
to t (bug#71939). Suggested by Ship Mints <shipmints@gmail.com>.
(cherry picked from commit
7a14f60b90ea640087b759466f2e2bafa490699d)
(defun tab-bar-tab-group-format-default (tab i &optional current-p)
(propertize
- (concat (if (and tab-bar-tab-hints (not current-p)) (format "%d " i) "")
+ (concat (if (and tab-bar-tab-hints
+ (not current-p)
+ (not tab-bar-show-inactive-group-tabs))
+ (format "%d " i) "")
(funcall tab-bar-tab-group-function tab))
'face (if current-p 'tab-bar-tab-group-current 'tab-bar-tab-group-inactive)))