changeset 1193:e1329d41271d

* 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.
author Jim Blandy <jimb@redhat.com>
date Tue, 22 Sep 1992 04:29:25 +0000
parents 5c380ec3cfc6
children e0a970069f9e
files src/fns.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 == ' ')