]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/tab-bar.el (tab-bar-new-tab-to): Set 'window-side' to nil (bug#62427).
authorJuri Linkov <juri@linkov.net>
Mon, 15 May 2023 17:32:04 +0000 (20:32 +0300)
committerJuri Linkov <juri@linkov.net>
Mon, 15 May 2023 17:32:04 +0000 (20:32 +0300)
This is still needed for the case when tab-bar-new-tab-choice is 'window'.

lisp/tab-bar.el

index c7983146bf9b4d849cba1658114d8e7c2f92d30c..ab428b816310d0b32d4337704c2d09cc3aec1e53 100644 (file)
@@ -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))))