diff options
| author | Richard M. Stallman | 2005-06-17 14:06:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-06-17 14:06:22 +0000 |
| commit | dfbfad25bf75a6dea0b831f6e36397c6892e04b0 (patch) | |
| tree | 3d8e71b5715badb8be89bb074111f00c483f47f9 /src | |
| parent | 5f81871efe4ff488329685bbf65ab81db9c92768 (diff) | |
| download | emacs-dfbfad25bf75a6dea0b831f6e36397c6892e04b0.tar.gz emacs-dfbfad25bf75a6dea0b831f6e36397c6892e04b0.zip | |
(read_char): Call restore_getcjmp after jump occurs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 3 |
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; |