emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a1a63bb: * lisp/tab-bar.el (tab-bar-new-tab-to): Use ignore-windo


From: Juri Linkov
Subject: master a1a63bb: * lisp/tab-bar.el (tab-bar-new-tab-to): Use ignore-window-parameters.
Date: Sat, 25 Sep 2021 15:25:07 -0400 (EDT)

branch: master
commit a1a63bb794156af38ac0ed55fd453705a183ebcd
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/tab-bar.el (tab-bar-new-tab-to): Use ignore-window-parameters.
    
    Suggested by Adam Porter <adam@alphapapa.net> in
    https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01758.html
---
 lisp/tab-bar.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index d0a1b3b..ceacd85 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1244,7 +1244,8 @@ After the tab is created, the hooks in
       ;; Handle the case when it's called in the active minibuffer.
       (when (minibuffer-selected-window)
         (select-window (minibuffer-selected-window)))
-      (delete-other-windows)
+      (let ((ignore-window-parameters t))
+        (delete-other-windows))
       ;; Create a new window to get rid of old window parameters
       ;; (e.g. prev/next buffers) of old window.
       (split-window) (delete-window)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]