]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Improve tab-bar-auto-width-predicate-default (bug#71883).
authorJuri Linkov <juri@linkov.net>
Mon, 19 Aug 2024 16:56:31 +0000 (19:56 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 20 Aug 2024 14:12:44 +0000 (16:12 +0200)
commitc1b41a7a8f2bccb3bb2dcbaea1571f174e706d93
tree19c76d58ec75d5006e8234661b95f5b85c6adda7
parent3c324a0e18ba66febaed3678deb6571219579e1a
* lisp/tab-bar.el: Improve tab-bar-auto-width-predicate-default (bug#71883).

(tab-bar--auto-width-faces-default): New variable with the
value from the default value of tab-bar-auto-width-faces.
(tab-bar-auto-width-faces): Set the default value to
tab-bar--auto-width-faces-default.
(tab-bar-auto-width-predicate-default): For backwards-compatibility
use the old logic of checking tab-bar-auto-width-faces when its value
was changed.  Otherwise, check for a symbol, but remove "current-group"
from the list of symbols.

(cherry picked from commit 60da504cf7ca2c95ab4e3bea10875271b15a5a45)
lisp/tab-bar.el