aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRobert Cochran2019-10-07 13:41:47 -0700
committerJuri Linkov2019-10-16 00:04:40 +0300
commitbf112e23ef7b2939ff40c0c1f94adce4ffa79187 (patch)
tree468c169934d5e5fe76ca9cec727314e654b9336f /doc
parent56a7c60872272eef2dbd4fd071d0af0441f374d8 (diff)
downloademacs-bf112e23ef7b2939ff40c0c1f94adce4ffa79187.tar.gz
emacs-bf112e23ef7b2939ff40c0c1f94adce4ffa79187.zip
Allow tabs to have consistent given names
* lisp/tab-bar.el (tab-bar--tab): Pull automatic name information from current tab (tab-bar--current-tab): Pull automatic name information from current tab, or from new optional template argument (tab-bar-select-tab): Pass the target tab as a template when setting it as current tab (tab-bar-rename-tab, tab-bar-rename-tab-by-name): New functions * doc/emacs/frames.texi (Tab Bars): Document new tab rename functionality.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/frames.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index f93c5b168b1..452c167c726 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1282,6 +1282,10 @@ runs @code{find-file-other-tab}. @xref{Visiting}.
1282@item C-x 6 d @var{directory} @key{RET} 1282@item C-x 6 d @var{directory} @key{RET}
1283Select a Dired buffer for directory @var{directory} in another tab. 1283Select a Dired buffer for directory @var{directory} in another tab.
1284This runs @code{dired-other-tab}. @xref{Dired}. 1284This runs @code{dired-other-tab}. @xref{Dired}.
1285@item C-x 6 r @var{tabname} @key{RET}
1286Renames the current tab to @var{tabname}. You can control the
1287programmatic name given to a tab by default by customizing the
1288variable @code{tab-bar-tab-name-function}.
1285@end table 1289@end table
1286 1290
1287@vindex tab-bar-new-tab-choice 1291@vindex tab-bar-new-tab-choice