summaryrefslogtreecommitdiff
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-12 12:42:56 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-12 12:42:56 +0000
commitaf48b12c4e5de76c9df5876b01581245dbc4be0a (patch)
tree4581fc76ba79ab15c95f9e3f57b99b10a651495a /src/keyboard.c
parent01375ac4e150e14dc9e074e8312827a34150770a (diff)
downloademacs-af48b12c4e5de76c9df5876b01581245dbc4be0a.tar.gz
(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)
if (!NILP (c))
break;
if (commandflag >= 0 && !input_pending && !detect_input_pending ())
- redisplay ();
+ {
+ prepare_menu_bars ();
+ redisplay ();
+ }
}
/* Terminate Emacs in batch mode if at eof. */