aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-31 07:04:46 +0000
committerRichard M. Stallman1993-03-31 07:04:46 +0000
commit04904c29df40d7530ab811bb06115fb712421caf (patch)
tree83cf0779c620a1276490e6acb6e795559708f24f /src
parent9cbfb5e4b13df78d5f5ad580c74d824622338215 (diff)
downloademacs-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.c4
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 }