]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-line.el: Remove unnecessary checks for nil event.
authorJuri Linkov <juri@linkov.net>
Wed, 4 Jun 2025 06:49:01 +0000 (09:49 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 20:00:32 +0000 (22:00 +0200)
commit443906bd6eef8a3aefbc490d22cfb69b067883d7
tree4d5b80a4e6c150afc56dc921d699d654938c42ea
parent5907a53704efe0705aee965ba2ea3f0443f8e7c5
* lisp/tab-line.el: Remove unnecessary checks for nil event.

(tab-line-hscroll-right, tab-line-hscroll-left)
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab)
(tab-line-close-tab, tab-line-close-other-tabs):
Remove '(consp event)' to use the window returned by
'(posn-window (tab-line-event-start event))' even in case
when 'event' is nil.

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