# HG changeset patch # User Richard M. Stallman # Date 733561486 0 # Node ID 39c696510c641278724a2b0947fd5f289ce672ac # Parent 06fcbff9d381426dbadd64c44611e52903423051 (read_char): Clear Vquit_flag when we return C-g for it. diff -r 06fcbff9d381 -r 39c696510c64 src/keyboard.c --- a/src/keyboard.c Tue Mar 30 23:07:47 1993 +0000 +++ b/src/keyboard.c Wed Mar 31 07:04:46 1993 +0000 @@ -1317,6 +1317,10 @@ XSET (internal_last_event_frame, Lisp_Frame, selected_frame); Vlast_event_frame = internal_last_event_frame; #endif + /* If we report the quit char as an event, + don't do so more than once. */ + if (!NILP (Vinhibit_quit)) + Vquit_flag = Qnil; goto non_reread; }