]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-line.el: Make tab closing commands work without mouse.
authorJuri Linkov <juri@linkov.net>
Tue, 27 May 2025 18:11:22 +0000 (21:11 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 19:52:57 +0000 (21:52 +0200)
commit02c3523cdf46591e147840a70488e11cf09fb06f
treefc9a523739afa01feecc52f9b2d2115ad273eae3
parentb6fb4b6293d1ec1aa152fd13186b272381c62c82
* lisp/tab-line.el: Make tab closing commands work without mouse.

(tab-line--current-tab): New function.
(tab-line-close-tab, tab-line-close-other-tabs): Use it
when the 'event' arg doesn't originate from mouse.
Suggested by pinmacs <pinmacs@cas.cat>.

(cherry picked from commit b6d5f50bc2782829e896bfe1f9826afa6d904b48)
lisp/tab-line.el