]> git.eshelyaron.com Git - emacs.git/commit
Be more allowing when looking for menu-bar items
authorStefan Kangas <stefan@marxist.se>
Thu, 28 Oct 2021 10:30:42 +0000 (12:30 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 28 Oct 2021 10:30:42 +0000 (12:30 +0200)
commit0f8417d597cbcb136b1e1c2326c701d83c5a2da9
tree9acd3725e67b092e2d57dbdc9cb909aa347389c2
parent7e2b973d60cfd30f1828fabd8d9f33127f24e54a
Be more allowing when looking for menu-bar items

Don't merge to master.  This is a safe-for-release fix for Bug#50752.

* src/keymap.c (lookup_key_1): Factor out function from
Flookup_key.
(Flookup_key): Be case insensitive when looking for Qmenu_bar
items.  (Bug#50752)

* test/src/keymap-tests.el
(keymap-lookup-key/mixed-case)
(keymap-lookup-key/mixed-case-multibyte): New tests.
etc/NEWS
src/keymap.c
test/src/keymap-tests.el