summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-06-17 14:06:22 +0000
committerRichard M. Stallman <rms@gnu.org>2005-06-17 14:06:22 +0000
commitdfbfad25bf75a6dea0b831f6e36397c6892e04b0 (patch)
tree3d8e71b5715badb8be89bb074111f00c483f47f9
parent5f81871efe4ff488329685bbf65ab81db9c92768 (diff)
downloademacs-dfbfad25bf75a6dea0b831f6e36397c6892e04b0.tar.gz
(read_char): Call restore_getcjmp after jump occurs.
-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)
if (_setjmp (local_getcjmp))
{
+ /* We must have saved the outer value of getcjmp here,
+ so restore it now. */
+ restore_getcjmp (save_jump);
XSETINT (c, quit_char);
internal_last_event_frame = selected_frame;
Vlast_event_frame = internal_last_event_frame;