comparison src/keyboard.c @ 14666:4edbb03c523b

(command_loop_1): Explicitly clear the echo area with message2; don't just clear echo_area_glyphs. Don't set no_direct in that case.
author Richard M. Stallman <rms@gnu.org>
date Sun, 25 Feb 1996 20:44:09 +0000
parents 0019d219990c
children c62f7ff56c40
comparison
equal deleted inserted replaced
14665:7a50843d260f 14666:4edbb03c523b
1114 int count = specpdl_ptr - specpdl; 1114 int count = specpdl_ptr - specpdl;
1115 specbind (Qinhibit_quit, Qt); 1115 specbind (Qinhibit_quit, Qt);
1116 Fsit_for (make_number (2), Qnil, Qnil); 1116 Fsit_for (make_number (2), Qnil, Qnil);
1117 unbind_to (count, Qnil); 1117 unbind_to (count, Qnil);
1118 1118
1119 echo_area_glyphs = 0; 1119 /* Clear the echo area. */
1120 no_direct = 1; 1120 message2 (0);
1121
1122 /* If a C-g came in before, treat it as input now. */
1121 if (!NILP (Vquit_flag)) 1123 if (!NILP (Vquit_flag))
1122 { 1124 {
1123 Vquit_flag = Qnil; 1125 Vquit_flag = Qnil;
1124 Vunread_command_events = Fcons (make_number (quit_char), Qnil); 1126 Vunread_command_events = Fcons (make_number (quit_char), Qnil);
1125 } 1127 }