mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/tab-bar.el (tab-bar-mouse-1): Avoid infinite recursion (bug#70086).
This commit is contained in:
parent
4460317225
commit
13d8b0eb63
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ regardless of where you click on it. Also add a new tab."
|
|||
(tab-number (tab-bar--key-to-number (nth 0 item))))
|
||||
(cond
|
||||
((and (memq (car item) '(add-tab history-back history-forward global))
|
||||
(not (eq (nth 1 item) 'tab-bar-mouse-1))
|
||||
(functionp (nth 1 item)))
|
||||
(call-interactively (nth 1 item)))
|
||||
((and (nth 2 item) (not (eq tab-number t)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue