# HG changeset patch # User Jim Blandy # Date 717136165 0 # Node ID e1329d41271ddf165da1e2886f6177b12ccc6c82 # Parent 5c380ec3cfc60bf5b52f297b5c831d8fcf7293c5 * fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag. Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and the user presses C-g, this function goes into an infinite loop. diff -r 5c380ec3cfc6 -r e1329d41271d src/fns.c --- a/src/fns.c Tue Sep 22 04:29:12 1992 +0000 +++ b/src/fns.c Tue Sep 22 04:29:25 1992 +0000 @@ -1114,6 +1114,7 @@ if (ans == 7 || ans == '\035') Vquit_flag = Qt; QUIT; + Vquit_flag = Qnil; if (ans >= 0) ans = DOWNCASE (ans); if (ans == 'y' || ans == ' ')