projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4460317
)
* lisp/tab-bar.el (tab-bar-mouse-1): Avoid infinite recursion (bug#70086).
author
Juri Linkov
<juri@linkov.net>
Mon, 6 May 2024 17:10:43 +0000
(20:10 +0300)
committer
Juri Linkov
<juri@linkov.net>
Mon, 6 May 2024 17:10:43 +0000
(20:10 +0300)
lisp/tab-bar.el
patch
|
blob
|
history
diff --git
a/lisp/tab-bar.el
b/lisp/tab-bar.el
index 176982256825a442b23327640bcb7ae478790feb..dac57ce2070f614134866813ada7db18effbf889 100644
(file)
--- a/
lisp/tab-bar.el
+++ b/
lisp/tab-bar.el
@@
-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)))