Juri Linkov writes: > But according to the documentation of 'tab-bar-show': > > "If the value is =E2=80=981=E2=80=99, then hide the tab bar when it has= only one tab, > and show it again once more tabs are created." > > tab-bar-close-tab should hide the tab-bar on the selected frame > with only one tab. > > So the problem is that tab-bar-new-tab doesn't show the tab-bar again > when there are more than one tab. Ah, in that case, I think we can just remove the first case in the cond in tab-bar-new-tab-to; simple patch attached > It seems this is a consequence of bug#42052 that tried to implement > frame-local tab-bar where tab-bar-mode is always true, but it shows/hides > frame-local tab-bars depending on the frame-parameter 'tab-bar-lines'. (I think that was me, whoops)