[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#53662: 29.0.50; Cannot use tab-new from side window
From: |
martin rudalics |
Subject: |
bug#53662: 29.0.50; Cannot use tab-new from side window |
Date: |
Wed, 2 Feb 2022 08:47:18 +0100 |
Two caveats:
+ (dolist (parameter (window-parameters))
+ (set-window-parameter nil (car parameter) nil))
Maybe you should remove the 'window-side' and the 'window-atom'
parameters only - users can assign arbitrary parameters to windows.
+ (unless (eq tab-bar-new-tab-choice 'window)
+ ;; Create a new window to get rid of old window parameters
+ ;; (e.g. prev/next buffers) of old window.
+ (split-window) (delete-window)))
Note that this will lose other settings as well like the window's
dedicated status. If this is the intended behavior, you should at least
tell so in the doc-string.
martin