]> git.eshelyaron.com Git - emacs.git/commit
Sort the items in 'mode-line-mode-menu' before displaying the menu
authorJim Porter <jporterbugs@gmail.com>
Thu, 24 Jun 2021 14:50:51 +0000 (16:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 24 Jun 2021 14:50:58 +0000 (16:50 +0200)
commit3665735d664208f1b198ac20ee82639fc151db69
tree88e653f0ec4d9de28dd40af01575075c62d48c5a
parent7be75f17e79b547dc03e26e3980d4ce75bfa668d
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