projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85b0587
)
* lisp/tab-bar.el (tab-bar-auto-width): Add selected-frame to the cache key.
author
Juri Linkov
<juri@linkov.net>
Wed, 9 Nov 2022 17:29:37 +0000
(19:29 +0200)
committer
Juri Linkov
<juri@linkov.net>
Wed, 9 Nov 2022 17:29:37 +0000
(19:29 +0200)
lisp/tab-bar.el
patch
|
blob
|
history
diff --git
a/lisp/tab-bar.el
b/lisp/tab-bar.el
index 0e8430fb38e21ea4bd8955be216db7e69789d60e..19451b4e72b5c91114e605eb29ec4f7eb91070e9 100644
(file)
--- a/
lisp/tab-bar.el
+++ b/
lisp/tab-bar.el
@@
-1062,7
+1062,8
@@
tab bar might wrap to the second line when it shouldn't.")
(nth 1 tab-bar-auto-width-max)))))
(dolist (item tabs)
(setf (nth 2 item)
- (with-memoization (gethash (cons width (nth 2 item))
+ (with-memoization (gethash (list (selected-frame)
+ width (nth 2 item))
tab-bar--fixed-width-hash)
(let* ((name (nth 2 item))
(len (length name))