aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2019-10-02 23:18:01 +0300
committerJuri Linkov2019-10-02 23:18:01 +0300
commit52ab9485107919771d3627b93c8a996563b34abd (patch)
tree38cea17e3e023ee71779d6b878c516d2b38ef0ff /doc
parent5eb2477be214d379128a5527f67e0f7afcc4499b (diff)
downloademacs-52ab9485107919771d3627b93c8a996563b34abd.tar.gz
emacs-52ab9485107919771d3627b93c8a996563b34abd.zip
* lisp/tab-bar.el (tab-bar-show): New defcustom.
* lisp/tab-bar.el (tab-bar-close-current-tab, tab-bar-close-tab): (tab-bar-new-tab): Use tab-bar-show. * doc/emacs/frames.texi (Tab Bars): Add tab-bar-show. * lisp/speedbar.el (speedbar-mode): Set buffer-local tab-bar-mode and tab-line-format to nil to not show in dedicated speedbar frame.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/frames.texi13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 0003881fad1..0cb9c4eb1d7 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1242,6 +1242,19 @@ command applies to all frames, including frames yet to be created. To
1242control the use of tab bars at startup, customize the variable 1242control the use of tab bars at startup, customize the variable
1243@code{tab-bar-mode}. 1243@code{tab-bar-mode}.
1244 1244
1245@vindex tab-bar-show
1246@cindex Tab Bar show
1247 This variable is intended to toggle the tab bar automatically.
1248When the value is @code{t}, then @code{tab-bar-mode} is enabled when
1249using the commands that create new window configurations. The value
1250@code{1} hides the tab bar when it has only one tab, and shows it
1251again once more tabs are created. If @code{nil}, always keep the tab
1252bar hidden. In this case it's still possible to use persistent named
1253window configurations without using the tab bar by relying on keyboard
1254commands that create a new window configuration (@kbd{M-x tab-new}),
1255that switch windows configurations (@kbd{M-x tab-next}, @kbd{M-x
1256tab-list}), or delete the existing ones (@kbd{M-x tab-close}).
1257
1245@vindex tab-bar-new-tab-choice 1258@vindex tab-bar-new-tab-choice
1246@cindex Tab Bar new tab 1259@cindex Tab Bar new tab
1247 By default, Emacs follows the same behavior as when creating frames, 1260 By default, Emacs follows the same behavior as when creating frames,