]> git.eshelyaron.com Git - emacs.git/commit
Allow tabs to have consistent given names
authorRobert Cochran <robert-git@cochranmail.com>
Mon, 7 Oct 2019 20:41:47 +0000 (13:41 -0700)
committerJuri Linkov <juri@linkov.net>
Tue, 15 Oct 2019 21:04:40 +0000 (00:04 +0300)
commitbf112e23ef7b2939ff40c0c1f94adce4ffa79187
tree468c169934d5e5fe76ca9cec727314e654b9336f
parent56a7c60872272eef2dbd4fd071d0af0441f374d8
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.
doc/emacs/frames.texi
lisp/tab-bar.el