From 3b91a4f4c9524d025a110b0005f13217cbbe1b7c Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 10 May 1994 23:38:17 +0000 Subject: [PATCH] (read_char): Preserve echo area on asynch buffer switch. --- src/keyboard.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 910bbf68da7..e32d9016f6e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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) -- 2.39.5