]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Add tab-bar-history-mode with arrow buttons for navigation.
authorJuri Linkov <juri@linkov.net>
Sun, 27 Oct 2019 23:04:47 +0000 (01:04 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 27 Oct 2019 23:04:47 +0000 (01:04 +0200)
commit7e30076225cebe85f7e60802f471b421a369abd7
tree00c85a50cec3613c598dac428a0c9e98494783bb
parent38ec422a35ab6e6e295b56500bb11493cd39a10e
* lisp/tab-bar.el: Add tab-bar-history-mode with arrow buttons for navigation.

* lisp/tab-bar.el (tab-bar-back-button, tab-bar-forward-button):
New variables.
(tab-bar-make-keymap-1): Show these buttons in tab-bar-history-mode.
(tab-bar--tab): Add history-back and history-forward.
(tab-bar-select-tab): Restore history-back and history-forward.
(tab-bar-history-omit, tab-bar-history-back)
(tab-bar-history-forward, tab-bar-history-pre-change): New variables.
(tab-bar-history-pre-change, tab-bar-history-change)
(tab-bar-history-back, tab-bar-history-forward)
(tab-bar-history-mode): New functions.
lisp/tab-bar.el