From: Juri Linkov Date: Thu, 15 Dec 2022 19:10:28 +0000 (+0200) Subject: * lisp/tab-bar.el ([tab-bar]): Use 'make-sparse-keymap' instead of 'ignore'. X-Git-Tag: emacs-29.0.90~1150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb069470631;p=emacs.git * 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). --- 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)