]> git.eshelyaron.com Git - emacs.git/commit
Fix showing and hiding of tab-bar on new frames (bug#46299)
authorBastian Beranek <bastian.beischer@rwth-aachen.de>
Mon, 8 Feb 2021 17:12:33 +0000 (18:12 +0100)
committerJuri Linkov <juri@linkov.net>
Sun, 14 Feb 2021 18:48:23 +0000 (20:48 +0200)
commit27eaf37241221a5a37f3d628ac247ac0a039cdb5
treef262c4db649819302a88b0bfd7131227836c380a
parentd6bfa30860358c54b689e2e82d8c8d59b424ac45
Fix showing and hiding of tab-bar on new frames (bug#46299)

* lisp/tab-bar.el (tab-bar--update-tab-bar-lines)
(tab-bar--tab-bar-lines-for-frame):
New functions to update value of tab-bar-lines in frames.
(tab-bar-mode, tab-bar-new-tab-to, tab-bar-close-tab)
(tab-bar-close-other-tab, tab-bar-show :set):
Use new function.
(tab-bar-select-tab-modifiers :set):
Work around visual glitch.
lisp/tab-bar.el