]> git.eshelyaron.com Git - emacs.git/commit
Implement tab close undo feature for tab-bar.
authorJuri Linkov <juri@linkov.net>
Wed, 23 Oct 2019 20:39:31 +0000 (23:39 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 23 Oct 2019 20:39:31 +0000 (23:39 +0300)
commit666686a3880a748d1c000682ce06914d59764849
tree79bc675efc56f8ede020e25b8908d010498afe3e
parent72e1e30afeb3e69797fb43af216e9d8c4945359f
Implement tab close undo feature for tab-bar.

* lisp/tab-bar.el (tab-bar-closed-tabs): New variable.
(tab-bar-close-tab): Add closed tab to tab-bar-closed-tabs.
Disable tab-bar-mode on closing the last tab.
(tab-bar-close-other-tabs): Add all closed tabs to tab-bar-closed-tabs.
(tab-bar-undo-close-tab): New command.
(tab-undo): Alias to tab-bar-undo-close-tab.
lisp/tab-bar.el