summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-09-22 04:29:25 +0000
committerJim Blandy <jimb@redhat.com>1992-09-22 04:29:25 +0000
commit088880f13a9593d90693648d1eb3cf902c9a81fa (patch)
tree56045c95f0e2a70c71c8e23f39e43e9e11a7c305 /src/fns.c
parent7c3c72eca1d14e6f30bb0b16ef99b25f5f71c975 (diff)
downloademacs-088880f13a9593d90693648d1eb3cf902c9a81fa.tar.gz
* 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.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index 74f184b838e..2527f268aae 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1114,6 +1114,7 @@ Also accepts Space to mean yes, or Delete to mean no.")
if (ans == 7 || ans == '\035')
Vquit_flag = Qt;
QUIT;
+ Vquit_flag = Qnil;
if (ans >= 0)
ans = DOWNCASE (ans);
if (ans == 'y' || ans == ' ')