}
/* Save outer setjmp data, in case called recursively. */
- bcopy (getcjmp, save_jump, sizeof getcjmp);
+ save_getcjmp (save_jump);
stop_polling ();
XSET (Vlast_event_screen, Lisp_Screen, selected_screen);
#endif
- clear_waiting_for_input ();
-
goto non_reread;
}
{
Lisp_Object tem0;
- tem0 = Fsit_for (make_number (echo_keystrokes), Qnil, Qt);
+ tem0 = sit_for (echo_keystrokes, 0, 1, 1);
if (EQ (tem0, Qt))
echo ();
}
{
Lisp_Object tem0;
int delay = delay_level * XFASTINT (Vauto_save_timeout) / 4;
- tem0 = Fsit_for (make_number (delay), Qnil, Qt);
+ tem0 = sit_for (delay, 0, 1, 1);
if (EQ (tem0, Qt))
{
jmp_buf temp;
non_reread:
- bcopy (save_jump, getcjmp, sizeof getcjmp);
+ restore_getcjmp (save_jump);
start_polling ();
#endif /* SIGIO */
if (EVENT_QUEUES_EMPTY)
{
- wait_reading_process_input (0, 0, -1, 1);
+ Lisp_Object minus_one;
+
+ XSET (minus_one, Lisp_Int, -1);
+ wait_reading_process_input (0, 0, minus_one, 1);
if (!interrupt_input && EVENT_QUEUES_EMPTY)
{
quit_error_check ();
sigfree ();
/* Prevent another signal from doing this before we finish. */
- waiting_for_input = 0;
+ clear_waiting_for_input ();
input_pending = 0;
#if 0