* src/keyboard.c: Consolidate code into make_lispy_event
commit815d3827f9f44384afac3eb2084e84be7083ea68
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Jan 2018 04:37:06 +0000 (12 23:37 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Jan 2018 04:40:47 +0000 (12 23:40 -0500)
tree23762e5f04c8fb24640b1c71199b5edf5b1104ec
parent70e4bb394f36940c4b72cd87d298d9cdabff5998
* src/keyboard.c: Consolidate code into make_lispy_event

(clear_event): Change arg type.  Adjust callers.
(kbd_buffer_get_event): Move most special event handling to
make_lispy_event.
(make_lispy_event): Add missing cases, taken from kbd_buffer_get_event.
<SAVE_SESSION_EVENT>: Change return value to match what used to be built
in kbd_buffer_get_event.
src/keyboard.c