]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-bar.el: Add a new tab on [mouse-1] instead of [down-mouse-1]
authorJuri Linkov <juri@linkov.net>
Sun, 17 Oct 2021 17:27:16 +0000 (20:27 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 17 Oct 2021 17:27:16 +0000 (20:27 +0300)
commit81e3697600e5c792cf2ee99bd0d2818807e62108
treec5dafa6f847393818625766b240f566865718f1f
parenta191d3c725e155bd2d30c0c239cf68021cbd6c6d
* lisp/tab-bar.el: Add a new tab on [mouse-1] instead of [down-mouse-1]

* lisp/tab-bar.el (tab-bar-mouse-down-1): Rename from
tab-bar-mouse-select-tab.  Ignore 'add-tab'.
(tab-bar-mouse-1): Rename from tab-bar-mouse-close-tab-from-button.
Use binding of 'add-tab'.
(tab-bar-map): Rebind [down-mouse-1] from tab-bar-mouse-select-tab to
tab-bar-mouse-down-1, and [mouse-1] from tab-bar-mouse-close-tab-from-button
to tab-bar-mouse-1 (bug#51246).
lisp/tab-bar.el