aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-12 12:42:56 +0000
committerRichard M. Stallman1994-06-12 12:42:56 +0000
commitcd72760ccafb47bfa2c38bbf7c6664e8defbd621 (patch)
treee4cf080a550806d7dd815484e8275d60b39f217e /src/keyboard.c
parent784450462fee3c4ecf4511aaf5be30d8a25899f5 (diff)
downloademacs-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.c5
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. */