summaryrefslogtreecommitdiff
path: root/doc/emacs/windows.texi
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-04-27 01:28:36 +0300
committerJuri Linkov <juri@linkov.net>2020-04-27 01:28:36 +0300
commitf0e1bf56f041a7f104839678db61e47006b5657c (patch)
treeff86a10a6c121382f99278ba6f7193eb1ccb3a02 /doc/emacs/windows.texi
parentf0b9f184576a326f4359b4955a5ecff69c11c3aa (diff)
downloademacs-f0e1bf56f041a7f104839678db61e47006b5657c.tar.gz
Fix bugs in tab-bar and tab-line and mention remaining features in manual.
* doc/emacs/frames.texi (Tab Bars): Mention tab-bar-new-tab-to, tab-bar-close-last-tab-choice, tab-bar-close-tab-select, tab-undo, tab-select, tab-bar-history-mode. * doc/emacs/windows.texi (Tab Line): Mention tab-line-tabs-function. * lisp/tab-bar.el (tab-bar-select-tab-modifiers): Mention tab-bar-tab-hints in docstring. (tab-bar-tab-hints): Mention tab-bar-select-tab-modifiers in docstring. (tab-bar-select-tab): Mention tab-bar-select-tab-modifiers in docstring. (tab-bar-switch-to-tab): Expand the docstring. (tab-bar-new-tab-to): Fix bug in handling 'left' value. (tab-bar-close-tab): Fix bug in handling 'left' value. (tab-bar-undo-close-tab): Use funcall tab-bar-tabs-function instead of direct call to tab-bar-tabs. (tab-bar-history-back, tab-bar-history-forward): Add docstrings. (tab-bar-history-mode): Expand docstring. * lisp/tab-line.el (tab-line-format): Fix bug for handling window switching that should set face 'tab-line-tab-current'.
Diffstat (limited to 'doc/emacs/windows.texi')
-rw-r--r--doc/emacs/windows.texi12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index cb5e9bce4d1..4c67660b92d 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -628,8 +628,16 @@ Selecting the previous window-local tab is the same as typing @kbd{C-x
same as @kbd{C-x @key{RIGHT}} (@code{next-buffer}). Both commands
support a numeric prefix argument as a repeat count.
+You can customize the variable @code{tab-line-tabs-function} to define
+the preferred contents of the tab line. By default, it displays all
+buffers previously visited in the window, as described above. But you
+can also set it to display a list of buffers with the same major mode
+as the current buffer, or to display buffers grouped by their major
+mode, where clicking on the mode name in the first tab displays a list
+of all major modes where you can select another group of buffers.
+
Note that the Tab Line is different from the Tab Bar (@pxref{Tab Bars}).
Whereas tabs on the Tab Bar at the top of each frame are used to
-switch between window configurations containing several windows,
+switch between window configurations containing several windows with buffers,
tabs on the Tab Line at the top of each window are used to switch
-between buffers.
+between buffers in the window.