]> git.eshelyaron.com Git - emacs.git/commit
Cache only the last string in 'tab-bar-format-align-right' (bug#78953)
authorJuri Linkov <juri@linkov.net>
Thu, 10 Jul 2025 06:40:51 +0000 (09:40 +0300)
committerEshel Yaron <me@eshelyaron.com>
Thu, 24 Jul 2025 08:00:39 +0000 (10:00 +0200)
commitf54e534f0acf52496538552a46f36367c93c783d
treef93fa25c37fe8a992019ebe7379559e9371e4fcc
parentc889540cec266e51dc4ae97d36581cc1328edc5c
Cache only the last string in 'tab-bar-format-align-right' (bug#78953)

* lisp/tab-bar.el (tab-bar--align-right-cache):
Rename from 'tab-bar--align-right-hash'.
(tab-bar-format-align-right): Use it to store
the string in the car, and the width in the cdr.

(cherry picked from commit 99080d0c04931b5d45026e1ee44526bbbb8dfdef)
lisp/tab-bar.el