diff options
author | Juri Linkov <juri@linkov.net> | 2023-05-15 20:32:04 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2023-05-15 20:32:04 +0300 |
commit | c18f9f155f6a7522bb4052a6b227b8a06ce38764 (patch) | |
tree | 5ca8c1f17c2c100b63ed54ace41b8700d0dea1df | |
parent | 33485fe8f74af0df458453c89afe4846ccd8e7e5 (diff) | |
download | emacs-c18f9f155f6a7522bb4052a6b227b8a06ce38764.tar.gz |
* 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'.
-rw-r--r-- | lisp/tab-bar.el | 4 |
1 files changed, 3 insertions, 1 deletions
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)))) |