changeset 7447:5589126476ca

(read_char): Preserve echo area on asynch buffer switch.
author Karl Heuer <kwzh@gnu.org>
date Tue, 10 May 1994 23:38:17 +0000
parents 3b974ab09824
children bf93ac2d8409
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue May 10 23:30:23 1994 +0000
+++ b/src/keyboard.c	Tue May 10 23:38:17 1994 +0000
@@ -1629,7 +1629,9 @@
 
   start_polling ();
 
-  echo_area_glyphs = 0;
+  /* Don't wipe the echo area for a trivial event.  */
+  if (XTYPE (c) != Lisp_Buffer)
+    echo_area_glyphs = 0;
 
   /* Handle things that only apply to characters.  */
   if (XTYPE (c) == Lisp_Int)