changeset 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 7a50843d260f
children 3de266c52c9a
files src/keyboard.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun Feb 25 19:13:40 1996 +0000
+++ b/src/keyboard.c	Sun Feb 25 20:44:09 1996 +0000
@@ -1116,8 +1116,10 @@
 	  Fsit_for (make_number (2), Qnil, Qnil);
 	  unbind_to (count, Qnil);
 
-	  echo_area_glyphs = 0;
-	  no_direct = 1;
+	  /* Clear the echo area.  */
+	  message2 (0);
+
+	  /* If a C-g came in before, treat it as input now.  */
 	  if (!NILP (Vquit_flag))
 	    {
 	      Vquit_flag = Qnil;