Mercurial > emacs
changeset 2369:8ce8541f393a
(Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 25 Mar 1993 06:32:43 +0000 |
parents | ff45a6d7b464 |
children | 4817a2197ac2 |
files | src/fns.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fns.c Thu Mar 25 04:58:09 1993 +0000 +++ b/src/fns.c Thu Mar 25 06:32:43 1993 +0000 @@ -1112,6 +1112,10 @@ 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);