Mercurial > emacs
changeset 1262:c9fc221502e4
* keyboard.c: Initialize recent_keys in syms_of_keyboard, not
init_keyboard; the latter is run after dumping, so you can't
add more staticpros.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 29 Sep 1992 14:29:22 +0000 |
parents | 60b30565326c |
children | 3790dfbefb30 |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Tue Sep 29 13:44:55 1992 +0000 +++ b/src/keyboard.c Tue Sep 29 14:29:22 1992 +0000 @@ -3474,15 +3474,12 @@ quit_char = Ctl ('g'); unread_command_char = Qnil; total_keys = 0; + recent_keys_index = 0; kbd_fetch_ptr = kbd_buffer; kbd_store_ptr = kbd_buffer; do_mouse_tracking = 0; input_pending = 0; - recent_keys = Fmake_vector (make_number (NUM_RECENT_KEYS), Qnil); - staticpro (&recent_keys); - recent_keys_index = 0; - if (!noninteractive) { signal (SIGINT, interrupt_signal); @@ -3588,6 +3585,9 @@ } } + recent_keys = Fmake_vector (make_number (NUM_RECENT_KEYS), Qnil); + staticpro (&recent_keys); + func_key_syms = Qnil; staticpro (&func_key_syms);