]> git.eshelyaron.com Git - emacs.git/commit
Sort the items in 'mode-line-mode-menu' before displaying the menu
authorJim Porter <jporterbugs@gmail.com>
Wed, 23 Jun 2021 13:02:52 +0000 (15:02 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 23 Jun 2021 13:02:52 +0000 (15:02 +0200)
commitd4d6d8f335165e2bda8942b4acd45e5bab613b70
tree3247b28c8c9ce800c52f219a2e02a3e3f482e480
parentd87b67a9e24ecc6c777fad0e3e6b71a7b68ab0df
Sort the items in 'mode-line-mode-menu' before displaying the menu

* lisp/bindings.el (bindings--menu-item-string, bindings--sort-keymap):
New functions.
(mode-line-major-mode-keymap, mode-line-minor-mode-keymap):
Sort 'mode-line-mode-menu'.
lisp/bindings.el