Commit a9658cd5 authored by Stefan Kangas's avatar Stefan Kangas

Lift {global,local}-key-binding to Lisp

* lisp/subr.el (local-key-binding, global-key-binding): New defuns.
* src/keymap.c (Flocal_key_binding, Fglobal_key_binding): Remove DEFUNs.
(syms_of_keymap): Remove defsubrs for above DEFUNs.
* test/lisp/subr-tests.el (subr-test-local-key-binding)
(subr-test-global-key-binding): New tests.
parent be9b7e83
Pipeline #8699 canceled with stage
in 53 minutes and 33 seconds