aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-06-17 14:06:22 +0000
committerRichard M. Stallman2005-06-17 14:06:22 +0000
commitdfbfad25bf75a6dea0b831f6e36397c6892e04b0 (patch)
tree3d8e71b5715badb8be89bb074111f00c483f47f9 /src
parent5f81871efe4ff488329685bbf65ab81db9c92768 (diff)
downloademacs-dfbfad25bf75a6dea0b831f6e36397c6892e04b0.tar.gz
emacs-dfbfad25bf75a6dea0b831f6e36397c6892e04b0.zip
(read_char): Call restore_getcjmp after jump occurs.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index b213d187aac..524f0efabbd 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -2616,6 +2616,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
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;