diff options
author | Juri Linkov <juri@linkov.net> | 2025-03-31 20:40:17 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2025-03-31 20:40:17 +0300 |
commit | a97a61b630624f5a6ec917db92e2985c56b20aa0 (patch) | |
tree | ab19d97296e7fad168bd1dcdaf3033e26b35c35f /lisp/vc/vc-annotate.el | |
parent | 513a05dd8761aebc14ffe4ee0a8a6e96feb10531 (diff) | |
download | emacs-a97a61b630624f5a6ec917db92e2985c56b20aa0.tar.gz emacs-a97a61b630624f5a6ec917db92e2985c56b20aa0.tar.bz2 emacs-a97a61b630624f5a6ec917db92e2985c56b20aa0.zip |
Improve logic of tab handling when quitting windows (bug#71386)
* lisp/window.el (window-deletable-p): Add tab logic that returns
the symbol 'tab' for a set of predefined conditions.
(window--delete): Call 'tab-bar-close-tab' when 'window-deletable-p'
returns the symbol 'tab'.
(quit-restore-window): Remove tab logic and merge it with frame logic.
* test/lisp/tab-bar-tests.el (tab-bar-tests-close-other-tabs-default)
(tab-bar-tests-close-other-tabs-with-arg): Clean up tabs afterwards.
(tab-bar-tests-quit-restore-window): New test.
Diffstat (limited to 'lisp/vc/vc-annotate.el')
0 files changed, 0 insertions, 0 deletions