]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el (tab-bar-auto-width): Don't check if width changes.
authorJuri Linkov <juri@linkov.net>
Tue, 19 Sep 2023 17:51:07 +0000 (20:51 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 19 Sep 2023 17:51:07 +0000 (20:51 +0300)
commit74dffcdf4f25ce4dc9074b0215f9967fb3e245a5
treedb6cc4cdddb614fd777649f875c75a486bd9bef9
parent3c14cab797752e78c21ac2a69a7e854276802c22
* lisp/tab-bar.el (tab-bar-auto-width): Don't check if width changes.

Remove the condition '(< curr-width prev-width)' that was intended to check
if the width stopped to change.  But actually it's not only unneeded,
but causes a bug: when the name contains a combining character, then
the width doesn't change, and the name truncation stops too early.
lisp/tab-bar.el