diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 6ff8789a5ed..c29c07f027b 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1645,7 +1645,10 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 1645 | if (!NILP (c)) | 1645 | if (!NILP (c)) |
| 1646 | break; | 1646 | break; |
| 1647 | if (commandflag >= 0 && !input_pending && !detect_input_pending ()) | 1647 | if (commandflag >= 0 && !input_pending && !detect_input_pending ()) |
| 1648 | redisplay (); | 1648 | { |
| 1649 | prepare_menu_bars (); | ||
| 1650 | redisplay (); | ||
| 1651 | } | ||
| 1649 | } | 1652 | } |
| 1650 | 1653 | ||
| 1651 | /* Terminate Emacs in batch mode if at eof. */ | 1654 | /* Terminate Emacs in batch mode if at eof. */ |