mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/mouse.el (context-menu-entry): Bind to make-sparse-keymap, not ignore.
Then where-is-internal does not run context-menu-map from the :filter, and no context menu functions are called by e.g. describe-mode in wrong buffer (bug#9923)
This commit is contained in:
parent
6cf358d7a2
commit
00d107ebea
1 changed files with 1 additions and 1 deletions
|
|
@ -524,7 +524,7 @@ Some context functions add menu items below the separator."
|
|||
menu)
|
||||
|
||||
(defvar context-menu-entry
|
||||
`(menu-item ,(purecopy "Context Menu") ignore
|
||||
`(menu-item ,(purecopy "Context Menu") ,(make-sparse-keymap)
|
||||
:filter (lambda (_) (context-menu-map)))
|
||||
"Menu item that creates the context menu and can be bound to a mouse key.")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue