changeset 39436:9a94c8b3b450

(read_char): Don't clear a message for a switch-frame event. From Stefan Monnier <monnier@cs.yale.edu>.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 25 Sep 2001 10:18:44 +0000
parents 46442d0ccb28
children cd28910ebc9a
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Sep 25 10:12:53 2001 +0000
+++ b/src/keyboard.c	Tue Sep 25 10:18:44 2001 +0000
@@ -2734,7 +2734,9 @@
 
   /* Now wipe the echo area, except for help events which do their
      own stuff with the echo area.  */
-  if (!CONSP (c) || !(EQ (Qhelp_echo, XCAR (c))))
+  if (!CONSP (c)
+      || (!(EQ (Qhelp_echo, XCAR (c)))
+	  && !(EQ (Qswitch_frame, XCAR (c)))))
     {
       if (!NILP (echo_area_buffer[0]))
 	safe_run_hooks (Qecho_area_clear_hook);