From 19ede237f5a46980a238a09e692319327ef9967e Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 4 Nov 2021 19:33:31 +0200 Subject: [PATCH] * doc/emacs/frames.texi (Tab Bars): Reorder toggle-frame-tab-bar. --- doc/emacs/frames.texi | 13 +++++++------ etc/NEWS | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 8cf7568fc89..ebb68ee89b5 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -1316,11 +1316,6 @@ command applies to all frames, including frames yet to be created. To control the use of tab bars at startup, customize the variable @code{tab-bar-mode} and save your customization. -@findex toggle-frame-tab-bar - To toggle the use of the Tab Bar only on the selected frame, type -@kbd{M-x toggle-frame-tab-bar}. This command allows to enable the -display of the Tab Bar on some frames and disable it on others. - @vindex tab-bar-show The variable @code{tab-bar-show} controls whether the Tab Bar mode is turned on automatically. If the value is @code{t}, then @@ -1338,7 +1333,13 @@ Bar by using commands @kbd{M-x tab-new}, @kbd{M-x tab-close}, etc. Note that a numerical value of @code{tab-bar-show} can cause the Tab Bar to be displayed on some frames, but not on others, depending on -the number of tabs defined on each frame. +the number of tabs created on each frame. + +@findex toggle-frame-tab-bar + To toggle the use of the Tab Bar only on the selected frame, type +@kbd{M-x toggle-frame-tab-bar}. This command allows to enable the +display of the Tab Bar on some frames and disable it on others, +regardless of the values of @code{tab-bar-mode} and @code{tab-bar-show}. @kindex C-x t The prefix key @kbd{C-x t} is analogous to @kbd{C-x 5}. diff --git a/etc/NEWS b/etc/NEWS index a502f117aad..cc4cdfe5b67 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -487,13 +487,13 @@ with items that operate on the clicked tab. Dragging the tab with scrolling switches to the previous/next tab, and holding the Shift key during scrolling moves the tab to the left/right. ---- ++++ *** Frame-specific appearance of the tab bar when 'tab-bar-show' is a number. When 'tab-bar-show' is a number, the tab bar on different frames can be shown or hidden independently, as determined by the number of tabs on each frame compared to the numerical value of 'tab-bar-show'. ---- ++++ *** New command 'toggle-frame-tab-bar'. It can be used to enable/disable the tab bar on the currently selected frame regardless of the values of 'tab-bar-mode' and 'tab-bar-show'. -- 2.39.5