[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 eb06947063: * lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-key
From: |
Juri Linkov |
Subject: |
emacs-29 eb06947063: * lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-keymap' instead of 'ignore'. |
Date: |
Thu, 15 Dec 2022 14:10:49 -0500 (EST) |
branch: emacs-29
commit eb069470631d63d8a4ed2b74ce5f9b9ee10cde13
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-keymap' instead of 'ignore'.
This helps to avoid the error in 'where-is-internal' that should
not call :filter unnecessarily (bug#9923).
---
lisp/tab-bar.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 1baa857e9e..f040bc9786 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -416,7 +416,7 @@ at the mouse-down event to the position at mouse-up event."
"S-<wheel-right>" #'tab-bar-move-tab)
(global-set-key [tab-bar]
- `(menu-item ,(purecopy "tab bar") ignore
+ `(menu-item ,(purecopy "tab bar") ,(make-sparse-keymap)
:filter tab-bar-make-keymap))
(defun tab-bar-make-keymap (&optional _ignore)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 eb06947063: * lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-keymap' instead of 'ignore'.,
Juri Linkov <=