mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-12 18:55:13 -08:00
* 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.
This commit is contained in:
parent
5160df46a2
commit
9deb415abc
1 changed files with 4 additions and 4 deletions
|
|
@ -3474,15 +3474,12 @@ init_keyboard ()
|
|||
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 @@ syms_of_keyboard ()
|
|||
}
|
||||
}
|
||||
|
||||
recent_keys = Fmake_vector (make_number (NUM_RECENT_KEYS), Qnil);
|
||||
staticpro (&recent_keys);
|
||||
|
||||
func_key_syms = Qnil;
|
||||
staticpro (&func_key_syms);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue