summaryrefslogtreecommitdiff
path: root/src
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
commitd730ea7019a0e99f466975fec31e39a82692e23c (patch)
treef93d8b04d35ac5314019f7cea6e344130646db16 /src
parent48ba65896963d41936e46ea6312d8f5bc4c022e2 (diff)
downloademacs-d730ea7019a0e99f466975fec31e39a82692e23c.tar.gz
(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)
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;