]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Explicitly clear the echo area
authorRichard M. Stallman <rms@gnu.org>
Sun, 25 Feb 1996 20:44:09 +0000 (20:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 25 Feb 1996 20:44:09 +0000 (20:44 +0000)
with message2; don't just clear echo_area_glyphs.
Don't set no_direct in that case.

src/keyboard.c

index 50d39831497b0cfaffd4b15ec3405f480f68243d..f30920bd89489d2058224ee042a7d1e9a1d70ed5 100644 (file)
@@ -1116,8 +1116,10 @@ command_loop_1 ()
          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;