]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Sort tab names by recency for tab switching (bug#38624)
authorJuri Linkov <juri@linkov.net>
Thu, 19 Dec 2019 23:18:28 +0000 (01:18 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 19 Dec 2019 23:18:28 +0000 (01:18 +0200)
commitdad47bff3d5740d8cacf1495e6becfb16a393bb0
treea088d41ea16dd178d1926db5dfa1e862f6639082
parent0bc00cda3cb6e765b0e1f0105edf75425bce13c9
* lisp/tab-bar.el: Sort tab names by recency for tab switching (bug#38624)

* lisp/tab-bar.el (tab-bar--tabs-recent): New function with code
extracted from tab-bar--tab-index-recent.
(tab-bar-switch-to-tab): Use tab-bar--tabs-recent in interactive spec
to sort names of tabs by recency for default values of completing-read.
(tab-prefix-map): Bind RET to tab-bar-select-tab-by-name, and 'm' to tab-move.
lisp/tab-bar.el