mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-13 09:32:47 +00:00
(read_char): Don't clear a message for a switch-frame
event. From Stefan Monnier <monnier@cs.yale.edu>.
This commit is contained in:
parent
9f8531e59a
commit
4d2e9f95a5
@ -2734,7 +2734,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|
||||
|
||||
/* 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);
|
||||
|
Loading…
Reference in New Issue
Block a user