]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Support displaying global-mode-string in the tab bar.
authorJuri Linkov <juri@linkov.net>
Sat, 27 Feb 2021 20:09:33 +0000 (22:09 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 27 Feb 2021 20:09:33 +0000 (22:09 +0200)
commit3b3b16ea17a6ce3169e32acf4aa4c020f4db71d7
tree072f094c5a5673a2cb01f0e0f0d4c4ea16827479
parent53f6218cdc677cda38d23b9049c80ab84e7b4f31
* lisp/tab-bar.el: Support displaying global-mode-string in the tab bar.

* lisp/tab-bar.el (tab-bar--define-keys): Update global-mode-string
in mode-line-misc-info with condition to disable global-mode-string
in the mode line.
(tab-bar-format): New variable.
(tab-bar-format-history, tab-bar-format-add-tab)
(tab-bar-format-tabs): New functions with body from
'tab-bar-make-keymap-1'.
(tab-bar-format-align-right, tab-bar-format-global): New functions for
'tab-bar-format' list.
(tab-bar-format-list): New utility function.
(tab-bar-make-keymap-1): Just call 'tab-bar-format-list'.
https://lists.gnu.org/archive/html/emacs-devel/2020-11/msg01210.html
etc/NEWS
lisp/tab-bar.el