diff options
| author | Richard M. Stallman | 1993-03-31 07:04:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-31 07:04:46 +0000 |
| commit | 04904c29df40d7530ab811bb06115fb712421caf (patch) | |
| tree | 83cf0779c620a1276490e6acb6e795559708f24f /src | |
| parent | 9cbfb5e4b13df78d5f5ad580c74d824622338215 (diff) | |
| download | emacs-04904c29df40d7530ab811bb06115fb712421caf.tar.gz emacs-04904c29df40d7530ab811bb06115fb712421caf.zip | |
(read_char): Clear Vquit_flag when we return C-g for it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 2f8689ef13e..d80cf2d83e8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1317,6 +1317,10 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 1317 | XSET (internal_last_event_frame, Lisp_Frame, selected_frame); | 1317 | XSET (internal_last_event_frame, Lisp_Frame, selected_frame); |
| 1318 | Vlast_event_frame = internal_last_event_frame; | 1318 | Vlast_event_frame = internal_last_event_frame; |
| 1319 | #endif | 1319 | #endif |
| 1320 | /* If we report the quit char as an event, | ||
| 1321 | don't do so more than once. */ | ||
| 1322 | if (!NILP (Vinhibit_quit)) | ||
| 1323 | Vquit_flag = Qnil; | ||
| 1320 | 1324 | ||
| 1321 | goto non_reread; | 1325 | goto non_reread; |
| 1322 | } | 1326 | } |