Commit 088880f1 authored by Jim Blandy's avatar Jim Blandy
Browse files

* 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.
parent 7c3c72ec
......@@ -1114,6 +1114,7 @@ Also accepts Space to mean yes, or Delete to mean no.")
if (ans == 7 || ans == '\035')
Vquit_flag = Qt;
Vquit_flag = Qnil;
if (ans >= 0)
ans = DOWNCASE (ans);
if (ans == 'y' || ans == ' ')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment