]> git.eshelyaron.com Git - emacs.git/commit
Fix sorting of menus in `context-menu-local' (bug#50067).
authorJuri Linkov <juri@linkov.net>
Thu, 18 Nov 2021 18:36:55 +0000 (20:36 +0200)
committerJuri Linkov <juri@linkov.net>
Thu, 18 Nov 2021 18:36:55 +0000 (20:36 +0200)
commit02853edba795b0d47201977d3b500e8a46ed5e0f
tree793adba33754ce1e62d3c1f51b8fa9074b805803
parent14271d050a30b8121358361ba671ba29493e03dd
Fix sorting of menus in `context-menu-local' (bug#50067).

* lisp/menu-bar.el (menu-bar-keymap): Don't use `lookup-key'
on the `keymap' arg.

* lisp/mouse.el (context-menu-global): Use `lookup-key global-map'
for the `keymap' arg of `menu-bar-keymap'.
(context-menu-local): Use `menu-bar-keymap' to sort `keymap'.
lisp/menu-bar.el
lisp/mouse.el