summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-25 20:44:09 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-25 20:44:09 +0000
commite6aa7813abc055f2fd9b615dfcb1dab3e07d368c (patch)
tree3ebde80c1a965b36dccd15234d1e2899cda7edce
parenta387611b1ba1654d4551fd9d1f161437a3193973 (diff)
downloademacs-e6aa7813abc055f2fd9b615dfcb1dab3e07d368c.tar.gz
(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.
-rw-r--r--src/keyboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 50d39831497..f30920bd894 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -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;