From: Juri Linkov Date: Wed, 29 Sep 2021 19:40:20 +0000 (+0300) Subject: * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab. X-Git-Tag: emacs-28.0.90~514 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fd244c9e46f52d8b2de4adeb457cd3b021bebfff;p=emacs.git * lisp/tab-bar.el (tab-bar-move-tab-to-frame): Delete frame with last tab. --- diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 9f64e2d1eeb..634328e223b 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)