aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 2390c8199c1..df53edd4138 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3474,15 +3474,12 @@ init_keyboard ()
3474 quit_char = Ctl ('g'); 3474 quit_char = Ctl ('g');
3475 unread_command_char = Qnil; 3475 unread_command_char = Qnil;
3476 total_keys = 0; 3476 total_keys = 0;
3477 recent_keys_index = 0;
3477 kbd_fetch_ptr = kbd_buffer; 3478 kbd_fetch_ptr = kbd_buffer;
3478 kbd_store_ptr = kbd_buffer; 3479 kbd_store_ptr = kbd_buffer;
3479 do_mouse_tracking = 0; 3480 do_mouse_tracking = 0;
3480 input_pending = 0; 3481 input_pending = 0;
3481 3482
3482 recent_keys = Fmake_vector (make_number (NUM_RECENT_KEYS), Qnil);
3483 staticpro (&recent_keys);
3484 recent_keys_index = 0;
3485
3486 if (!noninteractive) 3483 if (!noninteractive)
3487 { 3484 {
3488 signal (SIGINT, interrupt_signal); 3485 signal (SIGINT, interrupt_signal);
@@ -3588,6 +3585,9 @@ syms_of_keyboard ()
3588 } 3585 }
3589 } 3586 }
3590 3587
3588 recent_keys = Fmake_vector (make_number (NUM_RECENT_KEYS), Qnil);
3589 staticpro (&recent_keys);
3590
3591 func_key_syms = Qnil; 3591 func_key_syms = Qnil;
3592 staticpro (&func_key_syms); 3592 staticpro (&func_key_syms);
3593 3593