]> git.eshelyaron.com Git - emacs.git/commit
(Qinput_method_function): New variable.
authorRichard M. Stallman <rms@gnu.org>
Sun, 26 Jul 1998 23:03:58 +0000 (23:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 26 Jul 1998 23:03:58 +0000 (23:03 +0000)
commit7d18f9ae9903e59a2f5fab14efc978f8553b3486
tree9a2a8aa8b871316667401fe9101d59a1a22a795b
parent79de6799c965595086a2c720aaf1c28057b9b762
(Qinput_method_function): New variable.
(syms_of_keyboard): Init and staticpro it.
(read_key_sequence): Bind input-method-function,
and set it to nil after reading the first event.
(raw_keybuf, raw_keybuf_count): New variables, to record
raw input events as they are read with read_char.
(GROW_RAW_KEYBUF): New macro.
(Fthis_single_command_raw_keys): New function.
(syms_of_keyboard): defsubr it.

(read_char): Call the input method if appropriate.
Change logic for distinguishing rereads from new events;
use local var `reread'.  Take events from
Vunread_input_method_events and Vunread_post_input_method_events.
(Vunread_input_method_events, Vunread_post_input_method_events)
(Vinput_method_function): New variable.
(syms_of_keyboard): Set up Lisp vars.
(command_loop_1): Check Vunread_input_method_events and
Vunread_post_input_method_events along with Vunread_command_events.
src/keyboard.c