diff options
| author | Richard M. Stallman | 1995-05-06 23:07:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-05-06 23:07:51 +0000 |
| commit | 7286affd2a07a466f93aff883206b2589b27e9a1 (patch) | |
| tree | c4ad560b6b558d9552d4162da115dd3cc3b79454 /src/process.c | |
| parent | b580578b0c28011b4744aa348a7d4ba8fc982a77 (diff) | |
| download | emacs-7286affd2a07a466f93aff883206b2589b27e9a1.tar.gz emacs-7286affd2a07a466f93aff883206b2589b27e9a1.zip | |
(wait_reading_process_input): Don't call prepare_menu_bars.
Clear waiting_for_input around calling redisplay_preserve_echo_area.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/process.c b/src/process.c index f02e6a2071a..b9c22c07924 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -1947,11 +1947,6 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 1947 | EMACS_ADD_TIME (end_time, end_time, timeout); | 1947 | EMACS_ADD_TIME (end_time, end_time, timeout); |
| 1948 | } | 1948 | } |
| 1949 | 1949 | ||
| 1950 | /* It would not be safe to call this below, | ||
| 1951 | where we call redisplay_preserve_echo_area. */ | ||
| 1952 | if (do_display && frame_garbaged) | ||
| 1953 | prepare_menu_bars (); | ||
| 1954 | |||
| 1955 | while (1) | 1950 | while (1) |
| 1956 | { | 1951 | { |
| 1957 | /* If calling from keyboard input, do not quit | 1952 | /* If calling from keyboard input, do not quit |
| @@ -2035,7 +2030,12 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2035 | and indicates that a frame is trashed, the select may block | 2030 | and indicates that a frame is trashed, the select may block |
| 2036 | displaying a trashed screen. */ | 2031 | displaying a trashed screen. */ |
| 2037 | if (frame_garbaged && do_display) | 2032 | if (frame_garbaged && do_display) |
| 2038 | redisplay_preserve_echo_area (); | 2033 | { |
| 2034 | clear_waiting_for_input (); | ||
| 2035 | redisplay_preserve_echo_area (); | ||
| 2036 | if (XINT (read_kbd) < 0) | ||
| 2037 | set_waiting_for_input (); | ||
| 2038 | } | ||
| 2039 | 2039 | ||
| 2040 | if (XINT (read_kbd) && detect_input_pending ()) | 2040 | if (XINT (read_kbd) && detect_input_pending ()) |
| 2041 | { | 2041 | { |