* 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'.
This commit is contained in:
Juri Linkov 2023-05-15 20:32:04 +03:00
parent 33485fe8f7
commit c18f9f155f

View 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))))