mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
* lisp/tab-bar.el (tab-bar--format-tab-group): Add 'current-group'.
Use current-group symbol for current tab group item (bug#71883).
This commit is contained in:
parent
0822d0c1cd
commit
7b49261b5e
@ -1047,7 +1047,7 @@ The argument I is the tab index, and CURRENT-P is non-nil
|
||||
when the tab is current. Return the result as a keymap."
|
||||
(append
|
||||
`((,(intern (format "sep-%i" i)) menu-item ,(tab-bar-separator) ignore))
|
||||
`((,(intern (format "group-%i" i))
|
||||
`((,(intern (if current-p "current-group" (format "group-%i" i)))
|
||||
menu-item
|
||||
,(if current-p
|
||||
(condition-case nil
|
||||
|
Loading…
Reference in New Issue
Block a user