]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab.
authorJuri Linkov <juri@linkov.net>
Wed, 29 Sep 2021 19:40:20 +0000 (22:40 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 29 Sep 2021 19:40:20 +0000 (22:40 +0300)
lisp/tab-bar.el

index 9f64e2d1eebca11974646d249ee58073ed50dd1e..634328e223b1d1b4b1485a89854a22de85a4825c 100644 (file)
@@ -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)