[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fd244c9 2/2: * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delet
From: |
Juri Linkov |
Subject: |
master fd244c9 2/2: * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab. |
Date: |
Wed, 29 Sep 2021 15:40:43 -0400 (EDT) |
branch: master
commit fd244c9e46f52d8b2de4adeb457cd3b021bebfff
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab.
---
lisp/tab-bar.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 9f64e2d..634328e 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1201,6 +1201,7 @@ Interactively, ARG selects the ARGth different frame to
move to."
(nthcdr to-index to-tabs))
(with-selected-frame from-frame
(let ((inhibit-message t) ; avoid message about deleted tab
+ (tab-bar-close-last-tab-choice 'delete-frame)
tab-bar-closed-tabs)
(tab-bar-close-tab from-number)))
(tab-bar-tabs-set to-tabs to-frame)