]> git.eshelyaron.com Git - emacs.git/commit
Use `key-parse' in `keymap-lookup'
authorRobert Pluim <rpluim@gmail.com>
Thu, 19 Jan 2023 14:58:51 +0000 (15:58 +0100)
committerRobert Pluim <rpluim@gmail.com>
Fri, 20 Jan 2023 14:14:45 +0000 (15:14 +0100)
commitdcd59457b48f1fb115e9847eef1c983406885717
treede8037377fea57b47a324249b1b735a24308375f
parent8904a26a9d227e464ac1c6b054a0e3cf1bfb3016
Use `key-parse' in `keymap-lookup'

It's stricter than `kbd', and doesn't try to do anything with key
sequences that look like macros.

* lisp/keymap.el (keymap-lookup): Use `key-parse' instead of `kbd'.
* test/src/keymap-tests.el (keymap-set-after-menus): Test the
`keymap-set-after' API.
lisp/keymap.el
test/src/keymap-tests.el