diff options
| author | Gerd Moellmann | 2001-09-25 10:18:44 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-25 10:18:44 +0000 |
| commit | 4d2e9f95a582236975e2f0fb7641f3157af898f3 (patch) | |
| tree | b1225a1ecc0b7b46b573ddbd5b27e334bfc1004d /src | |
| parent | 9f8531e59a243a2b8f459216d751975020e54c1d (diff) | |
| download | emacs-4d2e9f95a582236975e2f0fb7641f3157af898f3.tar.gz emacs-4d2e9f95a582236975e2f0fb7641f3157af898f3.zip | |
(read_char): Don't clear a message for a switch-frame
event. From Stefan Monnier <monnier@cs.yale.edu>.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index f3d008e95dd..76a6c15c157 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2734,7 +2734,9 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2734 | 2734 | ||
| 2735 | /* Now wipe the echo area, except for help events which do their | 2735 | /* Now wipe the echo area, except for help events which do their |
| 2736 | own stuff with the echo area. */ | 2736 | own stuff with the echo area. */ |
| 2737 | if (!CONSP (c) || !(EQ (Qhelp_echo, XCAR (c)))) | 2737 | if (!CONSP (c) |
| 2738 | || (!(EQ (Qhelp_echo, XCAR (c))) | ||
| 2739 | && !(EQ (Qswitch_frame, XCAR (c))))) | ||
| 2738 | { | 2740 | { |
| 2739 | if (!NILP (echo_area_buffer[0])) | 2741 | if (!NILP (echo_area_buffer[0])) |
| 2740 | safe_run_hooks (Qecho_area_clear_hook); | 2742 | safe_run_hooks (Qecho_area_clear_hook); |