]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/tab-bar.el (tab-bar-new-tab-to): Use ignore-window-parameters.
authorJuri Linkov <juri@linkov.net>
Sat, 25 Sep 2021 19:24:48 +0000 (22:24 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 25 Sep 2021 19:24:48 +0000 (22:24 +0300)
Suggested by Adam Porter <adam@alphapapa.net> in
https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01758.html

lisp/tab-bar.el

index d0a1b3b70bf95b6de488a18616290bbbb60b579a..ceacd85971ddb9448f0679e273f1d696c4cc6a36 100644 (file)
@@ -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)