diff src/keyboard.c @ 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 cc5e8709ab89
children a7ff1a4b4e21
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)