Mercurial > emacs
diff src/process.c @ 11728:affed1766d34
(wait_reading_process_input): Don't call prepare_menu_bars.
Clear waiting_for_input around calling redisplay_preserve_echo_area.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sat, 06 May 1995 23:07:51 +0000 |
| parents | 0f9b9c375416 |
| children | 52a2c8e81bb7 |
line wrap: on
line diff
--- a/src/process.c Sat May 06 23:04:13 1995 +0000 +++ b/src/process.c Sat May 06 23:07:51 1995 +0000 @@ -1947,11 +1947,6 @@ EMACS_ADD_TIME (end_time, end_time, timeout); } - /* It would not be safe to call this below, - where we call redisplay_preserve_echo_area. */ - if (do_display && frame_garbaged) - prepare_menu_bars (); - while (1) { /* If calling from keyboard input, do not quit @@ -2035,7 +2030,12 @@ and indicates that a frame is trashed, the select may block displaying a trashed screen. */ if (frame_garbaged && do_display) - redisplay_preserve_echo_area (); + { + clear_waiting_for_input (); + redisplay_preserve_echo_area (); + if (XINT (read_kbd) < 0) + set_waiting_for_input (); + } if (XINT (read_kbd) && detect_input_pending ()) {
