[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30056: 25.3; battery-mode-line-string missing leading space
From: |
Juri Linkov |
Subject: |
bug#30056: 25.3; battery-mode-line-string missing leading space |
Date: |
Tue, 27 Jul 2021 23:56:09 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> However, there is another problem: now display-time-string contains
> additional trailing space, so when time is displayed on the
> right edge on the tab-bar, time string is not aligned nicely anymore.
> Now there is the gap between the time string and the right edge of the
> tab-bar.
>
> How this could be avoided? Maybe tab-bar-format-global now needs
> to use 'string-trim' on the result of '(format-mode-line global-mode-string)'?
Now added string-trim-right.