]> git.eshelyaron.com Git - emacs.git/commit
Customizable tab-line-tabs-function and new buffer-local tab-line-mode.
authorJuri Linkov <juri@linkov.net>
Sat, 26 Oct 2019 22:38:32 +0000 (01:38 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 26 Oct 2019 22:38:32 +0000 (01:38 +0300)
commit1660f5875c6022ba4f342a53efadfc4d2deb150a
tree9e5397fc0e09efcacbfad61ef1a23af9b732789b
parent5a9a01797b4dad36b81ebfa83eebf96d27a2f395
Customizable tab-line-tabs-function and new buffer-local tab-line-mode.

* lisp/tab-line.el (tab-line-tabs-function): Turn defvar into defcustom
with default of tab-line-tabs-window-buffers.
(tab-line-tabs-mode-buffers): New function.
(tab-line-tabs-window-buffers): Rename from tab-line-tabs.
(tab-line-select-tab, tab-line-switch-to-prev-tab)
(tab-line-switch-to-next-tab): Handle the value tab-line-tabs-window-buffers
of tab-line-tabs-function specially.
(tab-line-mode): Rename from global-tab-line-mode and change scope
to buffer-local.
(global-tab-line-mode): New globalized-minor-mode.
(tab-line-mode--turn-on): New function.
(tab-line-exclude-modes): New defcustom.
(tab-line-exclude): New buffer-local variable.
https://lists.gnu.org/archive/html/emacs-devel/2019-10/msg00988.html

* lisp/dired.el (dired-mark-pop-up): Set tab-line-exclude to nil.
Don't set tab-line-format.   (Bug#37699)
* lisp/speedbar.el (speedbar-mode): Set tab-line-exclude to nil.
Don't set tab-line-format.
lisp/dired.el
lisp/speedbar.el
lisp/tab-line.el