From c18f9f155f6a7522bb4052a6b227b8a06ce38764 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 15 May 2023 20:32:04 +0300 Subject: [PATCH] * lisp/tab-bar.el (tab-bar-new-tab-to): Set 'window-side' to nil (bug#62427). This is still needed for the case when tab-bar-new-tab-choice is 'window'. --- lisp/tab-bar.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index c7983146bf9..ab428b81631 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el @@ -1563,7 +1563,9 @@ After the tab is created, the hooks in (delete-other-windows) (if (eq tab-bar-new-tab-choice 'window) ;; Create new unique window from remaining window - (window-state-put (window-state-get)) + (progn + (set-window-parameter nil 'window-side nil) + (window-state-put (window-state-get))) ;; Create a new window to get rid of old window parameters ;; (e.g. prev/next buffers) of old window. (split-window) (delete-window)))) -- 2.39.2