bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60340: 29.0.60; force-mode-line-update does not update tab line


From: Juri Linkov
Subject: bug#60340: 29.0.60; force-mode-line-update does not update tab line
Date: Wed, 28 Dec 2022 19:49:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> (defun tab-line-cache-key-default (_tabs)
>>   (list (random 1000)))
>
> Thank you for the pointer! I can do this and it works great:
>
> (set-window-parameter nil 'tab-line-cache nil)
> (force-mode-line-update)

Maybe this call is straightforward enough not to warrant a new special
function to clear the cache.  Anyway, your complex use case prompted
the need to allow more flexibility in tab-line-cache-key-function
that now I improved as well.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]