diff options
| author | Richard M. Stallman | 1994-06-12 12:42:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-12 12:42:56 +0000 |
| commit | cd72760ccafb47bfa2c38bbf7c6664e8defbd621 (patch) | |
| tree | e4cf080a550806d7dd815484e8275d60b39f217e /src/keyboard.c | |
| parent | 784450462fee3c4ecf4511aaf5be30d8a25899f5 (diff) | |
| download | emacs-cd72760ccafb47bfa2c38bbf7c6664e8defbd621.tar.gz emacs-cd72760ccafb47bfa2c38bbf7c6664e8defbd621.zip | |
(read_char): When we loop and call redisplay,
do prepare_menu_bars first.
Diffstat (limited to 'src/keyboard.c')
| -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. */ |