]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el (switch-to-buffer-other-tab): Normalize buffer.
authorJuri Linkov <juri@linkov.net>
Sat, 30 May 2020 22:30:34 +0000 (01:30 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 30 May 2020 22:30:34 +0000 (01:30 +0300)
commitf72bb4ce36686d814bbb540a7844f22570540bc8
tree2450bc6ce5a250eb75d039ae27a952c47e8282e3
parentd3e0023aaa754c3f548b9224f66be537e9758157
* lisp/tab-bar.el (switch-to-buffer-other-tab): Normalize buffer.

* lisp/tab-bar.el (switch-to-buffer-other-tab): Use
'window-normalize-buffer-to-switch-to' on 'buffer-or-name',
like does 'pop-to-buffer' used by 'switch-to-buffer-other-frame',
instead of raising the error "Invalid buffer" on a non-existent buffer name.
lisp/tab-bar.el