diff options
| author | Jim Blandy | 1992-09-22 04:29:25 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-22 04:29:25 +0000 |
| commit | 088880f13a9593d90693648d1eb3cf902c9a81fa (patch) | |
| tree | 56045c95f0e2a70c71c8e23f39e43e9e11a7c305 /src | |
| parent | 7c3c72eca1d14e6f30bb0b16ef99b25f5f71c975 (diff) | |
| download | emacs-088880f13a9593d90693648d1eb3cf902c9a81fa.tar.gz emacs-088880f13a9593d90693648d1eb3cf902c9a81fa.zip | |
* 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')
| -rw-r--r-- | src/fns.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -1114,6 +1114,7 @@ Also accepts Space to mean yes, or Delete to mean no.") | |||
| 1114 | if (ans == 7 || ans == '\035') | 1114 | if (ans == 7 || ans == '\035') |
| 1115 | Vquit_flag = Qt; | 1115 | Vquit_flag = Qt; |
| 1116 | QUIT; | 1116 | QUIT; |
| 1117 | Vquit_flag = Qnil; | ||
| 1117 | if (ans >= 0) | 1118 | if (ans >= 0) |
| 1118 | ans = DOWNCASE (ans); | 1119 | ans = DOWNCASE (ans); |
| 1119 | if (ans == 'y' || ans == ' ') | 1120 | if (ans == 'y' || ans == ' ') |