]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Improve logic of 'ignore-current-tab'.
authorJuri Linkov <juri@linkov.net>
Sun, 12 Sep 2021 16:10:02 +0000 (19:10 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 12 Sep 2021 16:10:02 +0000 (19:10 +0300)
commit64c5cd5a8c30779a32bbb676c892c120b17fd35f
tree3111b5e77cde2b31c806871218c82f76b25d332f
parent8f3199788beceb6c513809a11e6f99b66b8feb5c
* lisp/tab-bar.el: Improve logic of 'ignore-current-tab'.

* lisp/tab-bar.el (tab-bar-get-buffer-tab): Prefer the current tab
when 'ignore-current-tab' is nil.
(display-buffer-in-tab): Use alist entry 'ignore-current-tab'
as the third arg of 'tab-bar-get-buffer-tab'.  Improve docstring.

Suggested by Feng Shu <tumashu@163.com>
https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg00955.html
lisp/tab-bar.el