changeset 10701:358030fd130c

(command_loop_1): Put back cancel_echoing call, if there's a perdisplay for it to apply to. (init_perdisplay): Initialize echo vars.
author Karl Heuer <kwzh@gnu.org>
date Wed, 08 Feb 1995 06:37:26 +0000
parents f6f235bc26ba
children 77753c063e8c
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Feb 08 06:35:50 1995 +0000
+++ b/src/keyboard.c	Wed Feb 08 06:37:26 1995 +0000
@@ -902,6 +902,8 @@
 
   Vdeactivate_mark = Qnil;
   waiting_for_input = 0;
+  if (current_perdisplay)
+    cancel_echoing ();
 
   nonundocount = 0;
   no_redisplay = 0;
@@ -6051,6 +6053,9 @@
   perd->internal_last_event_frame = Qnil;
 #endif
   perd->Vlast_event_frame = Qnil;
+  perd->immediate_echo = 0;
+  perd->echoptr = perd->echobuf;
+  perd->echo_after_prompt = -1;
 }
 
 /*