[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 c18f9f155f6: * lisp/tab-bar.el (tab-bar-new-tab-to): Set 'windo
From: |
Juri Linkov |
Subject: |
emacs-29 c18f9f155f6: * lisp/tab-bar.el (tab-bar-new-tab-to): Set 'window-side' to nil (bug#62427). |
Date: |
Mon, 15 May 2023 13:33:39 -0400 (EDT) |
branch: emacs-29
commit c18f9f155f6a7522bb4052a6b227b8a06ce38764
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* 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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 c18f9f155f6: * lisp/tab-bar.el (tab-bar-new-tab-to): Set 'window-side' to nil (bug#62427).,
Juri Linkov <=