aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-05-10 23:38:17 +0000
committerKarl Heuer1994-05-10 23:38:17 +0000
commit3b91a4f4c9524d025a110b0005f13217cbbe1b7c (patch)
tree96b92ce5d89e0bb85fdecd17e8e514faa3595f5d /src
parentd1dacaa04933136ca97511983b6bf671b62c36e5 (diff)
downloademacs-3b91a4f4c9524d025a110b0005f13217cbbe1b7c.tar.gz
emacs-3b91a4f4c9524d025a110b0005f13217cbbe1b7c.zip
(read_char): Preserve echo area on asynch buffer switch.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c4
1 files changed, 3 insertions, 1 deletions
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)
1629 1629
1630 start_polling (); 1630 start_polling ();
1631 1631
1632 echo_area_glyphs = 0; 1632 /* Don't wipe the echo area for a trivial event. */
1633 if (XTYPE (c) != Lisp_Buffer)
1634 echo_area_glyphs = 0;
1633 1635
1634 /* Handle things that only apply to characters. */ 1636 /* Handle things that only apply to characters. */
1635 if (XTYPE (c) == Lisp_Int) 1637 if (XTYPE (c) == Lisp_Int)