]> git.eshelyaron.com Git - emacs.git/commit
Allow :keys in menus to be computed dynamically
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Oct 2021 11:15:41 +0000 (13:15 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 11 Oct 2021 11:15:41 +0000 (13:15 +0200)
commit74d3a1e7d6450f226d2f942d0c0e3410eea87dfc
tree8335d6fac9fcf3c85d41d15fd98e68aee814d473
parent85b8609f9572eb4d9d6d6f856097090513051ab5
Allow :keys in menus to be computed dynamically

* doc/lispref/keymaps.texi (Extended Menu Items): Document it
(bug#28930).

* src/keyboard.c (parse_menu_item): Allow :keys to be a function.
doc/lispref/keymaps.texi
etc/NEWS
src/keyboard.c