]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_char): Call restore_getcjmp after jump occurs.
authorRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 14:06:22 +0000 (14:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 2005 14:06:22 +0000 (14:06 +0000)
src/keyboard.c

index b213d187aacfc493807141e61f8b7b073790abe2..524f0efabbd6b7408f2620537e20d46be5271c4d 100644 (file)
@@ -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;