• Stefan Kangas's avatar
    Lift {global,local}-key-binding to Lisp · a9658cd5
    Stefan Kangas authored
    * 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.
    a9658cd5
subr-tests.el 27.8 KB