comparison src/keyboard.c @ 63548:3a486bf74d99

(read_char): Call restore_getcjmp after jump occurs.
author Richard M. Stallman <rms@gnu.org>
date Fri, 17 Jun 2005 14:06:22 +0000
parents bd105bca3ee4
children a8fa7c632ee4 c016d82bf02b b7da78284d4c
comparison
equal deleted inserted replaced
63547:cbb687cf8169 63548:3a486bf74d99
2614 around any call to sit_for or kbd_buffer_get_event; 2614 around any call to sit_for or kbd_buffer_get_event;
2615 it *must not* be in effect when we call redisplay. */ 2615 it *must not* be in effect when we call redisplay. */
2616 2616
2617 if (_setjmp (local_getcjmp)) 2617 if (_setjmp (local_getcjmp))
2618 { 2618 {
2619 /* We must have saved the outer value of getcjmp here,
2620 so restore it now. */
2621 restore_getcjmp (save_jump);
2619 XSETINT (c, quit_char); 2622 XSETINT (c, quit_char);
2620 internal_last_event_frame = selected_frame; 2623 internal_last_event_frame = selected_frame;
2621 Vlast_event_frame = internal_last_event_frame; 2624 Vlast_event_frame = internal_last_event_frame;
2622 /* If we report the quit char as an event, 2625 /* If we report the quit char as an event,
2623 don't do so more than once. */ 2626 don't do so more than once. */