]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Create new unique windows with 'C-x t n' (bug#54038).
authorJuri Linkov <juri@linkov.net>
Wed, 23 Feb 2022 17:58:33 +0000 (19:58 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 23 Feb 2022 17:58:33 +0000 (19:58 +0200)
commit435d5c84ed200b24b0cd5b51fa77026e861eff3f
tree3de3465831525c89d637f7d798cac43a64f4e29c
parent99ba8c03c8fac65c2497265c54e1bea49f7c6dd3
* lisp/tab-bar.el: Create new unique windows with 'C-x t n' (bug#54038).

* lisp/tab-bar.el (tab-bar-new-tab-choice): Replace the value 'nil'
with explicit 'clone'.
(tab-bar-move-window-to-tab): Ignore possible side/atom window
parameters with ignore-window-parameters while deleting window.
(tab-bar-new-tab-to): When 'tab-bar-new-tab-choice' is 'clone',
create new unique windows with the same layout using window-state-get
and window-state-put.  Do the same after deleting other windows
when 'tab-bar-new-tab-choice' is 'window'.
(tab-bar-duplicate-tab): Replace the value 'nil' with 'clone' for
'tab-bar-new-tab-choice'.
lisp/tab-bar.el