Mercurial > emacs
diff src/keyboard.c @ 4315:9c6571823ab8
(command_loop_1): Call Qrecompute_lucid_menubar only if defined.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Jul 1993 22:49:05 +0000 |
parents | af81ea5c816e |
children | d6d07b43f6d5 |
line wrap: on
line diff
--- a/src/keyboard.c Tue Jul 27 22:01:29 1993 +0000 +++ b/src/keyboard.c Tue Jul 27 22:49:05 1993 +0000 @@ -961,7 +961,8 @@ #endif /* If it has changed current-menubar from previous value, really recompute the menubar from the value. */ - if (! NILP (Vlucid_menu_bar_dirty_flag)) + if (! NILP (Vlucid_menu_bar_dirty_flag) + && !NILP (Ffboundp (Qrecompute_lucid_menubar))) call0 (Qrecompute_lucid_menubar); #if 0 /* This is done in xdisp.c now. */