]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-line.el (tab-line-tabs-buffer-list-function): New variable.
authorJuri Linkov <juri@linkov.net>
Tue, 12 Nov 2019 21:31:12 +0000 (23:31 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 12 Nov 2019 21:31:12 +0000 (23:31 +0200)
commit0a492e4dfa188f32fd04cdf95c9fa6324facae08
treea7e82c6205741478b7cee208830651cc70da502a
parentd0351f4d2010e3e8f3ada04b045dede10f110d7f
* lisp/tab-line.el (tab-line-tabs-buffer-list-function): New variable.

(tab-line-tabs-buffer-list): New function.
(tab-line-tabs-mode-buffers, tab-line-tabs-buffer-groups):
Call tab-line-tabs-mode-buffers.
(tab-line-tabs-buffer-groups): Add 'close' function that uses
kill-buffer instead of bury-buffer that makes no sense here.
(tab-line-format): Don't show the close button when a tab
has no 'close' function or buffer.
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab):
Support tabs with 'buffer' properties.
(tab-line-close-tab): Call 'close' function when defined.
lisp/tab-line.el