mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-03 10:53:23 +00:00
* lisp/tab-line.el: Use 'tab-line-event-start' in remaining functions.
(tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab): Use 'tab-line-event-start' instead of 'event-start' like in all other functions.
This commit is contained in:
parent
8c4ff60cf4
commit
6f24725323
1 changed files with 2 additions and 2 deletions
|
@ -952,7 +952,7 @@ switches to the previous buffer in the sequence defined by
|
|||
is possible when `tab-line-switch-cycling' is non-nil."
|
||||
(interactive (list last-nonmenu-event
|
||||
(prefix-numeric-value current-prefix-arg)))
|
||||
(with-selected-window (posn-window (event-start event))
|
||||
(with-selected-window (posn-window (tab-line-event-start event))
|
||||
(if (eq tab-line-tabs-function #'tab-line-tabs-window-buffers)
|
||||
(previous-buffer arg t)
|
||||
(let* ((buffers (seq-keep
|
||||
|
@ -981,7 +981,7 @@ switches to the next buffer in the sequence defined by
|
|||
is possible when `tab-line-switch-cycling' is non-nil."
|
||||
(interactive (list last-nonmenu-event
|
||||
(prefix-numeric-value current-prefix-arg)))
|
||||
(with-selected-window (posn-window (event-start event))
|
||||
(with-selected-window (posn-window (tab-line-event-start event))
|
||||
(if (eq tab-line-tabs-function #'tab-line-tabs-window-buffers)
|
||||
(next-buffer arg t)
|
||||
(let* ((buffers (seq-keep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue