From eb069470631d63d8a4ed2b74ce5f9b9ee10cde13 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Thu, 15 Dec 2022 21:10:28 +0200 Subject: [PATCH] * 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 1baa857e9e9..f040bc9786d 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-" #'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) -- 2.39.2