]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_char): Preserve echo area on asynch buffer switch.
authorKarl Heuer <kwzh@gnu.org>
Tue, 10 May 1994 23:38:17 +0000 (23:38 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 10 May 1994 23:38:17 +0000 (23:38 +0000)
src/keyboard.c

index 910bbf68da73bd9d234d0f69fca03117da92ffde..e32d9016f6e8ac241c1aca030d7a07ad247132d3 100644 (file)
@@ -1629,7 +1629,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
 
   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)