]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el (switch-to-buffer-other-tab): Use display-buffer-in-tab.
authorJuri Linkov <juri@linkov.net>
Wed, 4 Dec 2019 22:56:54 +0000 (00:56 +0200)
committerJuri Linkov <juri@linkov.net>
Wed, 4 Dec 2019 22:56:54 +0000 (00:56 +0200)
commit67815c6bf2479eae5ad135782a1ce09a95734de8
tree92e50ef09d1dca8a17b7de975fd0b3c674364841
parent5b45c269cda09fe46e110adb6f6767040f4ade59
* lisp/tab-bar.el (switch-to-buffer-other-tab): Use display-buffer-in-tab.

(tab-bar--tab): Use float-time instead of integer.
This improves correct detection of recent tabs switched within 1 sec.
(tab-bar--current-tab, tab-bar--current-tab-index)
(tab-bar--tab-index, tab-bar--tab-index-by-name)
(tab-bar--tab-index-recent): Add optional arg FRAME.
(tab-bar-move-tab-to-frame): Add with-selected-frame for tab-bar-close-tab.
(tab-bar--reusable-frames): New function.
(tab-bar-get-buffer-tab): Add index to the found tab.
(display-buffer-in-tab): Use `tab-name' entry instead of `name'.
Add `reusable-frames' entry.  (bug#38354)
doc/misc/gnus.texi
lisp/tab-bar.el