diff options
author | Richard M. Stallman <[email protected]> | 1993-07-27 22:49:05 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1993-07-27 22:49:05 +0000 |
commit | a646e5200b910a40893ce7eba3784f4f7aae3444 (patch) | |
tree | d74594fe79e5801d607948eb048cae263fcd7f88 /src/keyboard.c | |
parent | 8a96eef3f357234e2465ff28b72b7d1a8bf6a12f (diff) |
(command_loop_1): Call Qrecompute_lucid_menubar only if defined.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index fc1ac681f1..5714ec6ac1 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -961,7 +961,8 @@ command_loop_1 () #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. */ |