]> git.eshelyaron.com Git - emacs.git/commit
* lisp/tab-line.el: Use 'consp' on mouse events instead of 'listp'.
authorJuri Linkov <juri@linkov.net>
Tue, 3 Jun 2025 15:49:31 +0000 (18:49 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 7 Jun 2025 20:00:18 +0000 (22:00 +0200)
commit06f753515bbd00a7bbab6e744603186259853472
treedf64f5fa0b3cfe91038057ac459b422a16045317
parent64fbed1027d32f6ae965675d9d1b4356dc07ef69
* lisp/tab-line.el: Use 'consp' on mouse events instead of 'listp'.

(tab-line-hscroll-right, tab-line-hscroll-left, tab-line-new-tab)
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab)
(tab-line-close-tab, tab-line-close-other-tabs):
Replace '(listp event)' with '(consp event)' that allows
calling the functions non-interactively with nil event arguments.

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