]> git.eshelyaron.com Git - emacs.git/commit
Declare tab-bar-tabs the single source of truth in regard to current tab name
authorJuri Linkov <juri@linkov.net>
Tue, 15 Oct 2019 21:42:31 +0000 (00:42 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 15 Oct 2019 21:42:31 +0000 (00:42 +0300)
commit2912de1e1079bfa4e975e6414e171d747c83c202
tree50a141f78534e1e6b8f0611b73568a4732eae433
parentbf112e23ef7b2939ff40c0c1f94adce4ffa79187
Declare tab-bar-tabs the single source of truth in regard to current tab name

* lisp/tab-bar.el: Replace all calls of tab-bar-tabs
with '(funcall tab-bar-tabs-function)'.
(tab-bar-tabs): Update the current tab name here
instead of tab-bar-make-keymap-1.
(tab-bar-make-keymap-1): Move the current tab name updating
to tab-bar-tabs.
lisp/tab-bar.el