diff options
| author | Juri Linkov | 2019-10-02 23:18:01 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-10-02 23:18:01 +0300 |
| commit | 52ab9485107919771d3627b93c8a996563b34abd (patch) | |
| tree | 38cea17e3e023ee71779d6b878c516d2b38ef0ff /doc | |
| parent | 5eb2477be214d379128a5527f67e0f7afcc4499b (diff) | |
| download | emacs-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.texi | 13 |
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 | |||
| 1242 | control the use of tab bars at startup, customize the variable | 1242 | control 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. | ||
| 1248 | When the value is @code{t}, then @code{tab-bar-mode} is enabled when | ||
| 1249 | using 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 | ||
| 1251 | again once more tabs are created. If @code{nil}, always keep the tab | ||
| 1252 | bar hidden. In this case it's still possible to use persistent named | ||
| 1253 | window configurations without using the tab bar by relying on keyboard | ||
| 1254 | commands that create a new window configuration (@kbd{M-x tab-new}), | ||
| 1255 | that switch windows configurations (@kbd{M-x tab-next}, @kbd{M-x | ||
| 1256 | tab-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, |