]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-line.el: Add context menu bound to down-mouse-3 like on tab bar.
authorJuri Linkov <juri@linkov.net>
Wed, 15 Sep 2021 16:09:33 +0000 (19:09 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 15 Sep 2021 16:09:33 +0000 (19:09 +0300)
commit3d1f51382f6a5633a72fc7df1b0b6f38e9021abd
tree00f054c64dd884375a58c5be4d71401cb0ed011f
parent6d65d50f71d7415833a1d27bae9b88cb46ff2198
* lisp/tab-line.el: Add context menu bound to down-mouse-3 like on tab bar.

* lisp/tab-line.el: Bind tab-line down-mouse-3 to tab-line-context-menu.
(tab-line-tab-map): Rebind tab-line-select-tab from mouse-1 to down-mouse-1.
Bind down-mouse-3 to tab-line-tab-context-menu.
(tab-line-add-map): Rebind tab-line-new-tab from mouse-1 to down-mouse-1.
(tab-line-left-map, tab-line-right-map): Rebind mouse-1 to down-mouse-1.
(tab-line-tab-context-menu, tab-line-context-menu): New functions.
(tab-line-hscroll-right, tab-line-hscroll-left)
(tab-line-new-tab, tab-line-select-tab)
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab)
(tab-line-close-tab): Rename event args to 'event'.
lisp/tab-line.el