summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index 27927d73abe..667612237af 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1112,6 +1112,10 @@ Also accepts Space to mean yes, or Delete to mean no.")
cursor_in_echo_area = 1;
obj = read_char (0, 0, 0, Qnil, 0);
+ cursor_in_echo_area = 0;
+ /* If we need to quit, quit with cursor_in_echo_area = 0. */
+ QUIT;
+
key = Fmake_vector (make_number (1), obj);
def = Flookup_key (map, key);
answer_string = Fsingle_key_description (obj);