Commit a646e520 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(command_loop_1): Call Qrecompute_lucid_menubar only if defined.

parent 8a96eef3
......@@ -961,7 +961,8 @@ command_loop_1 ()
/* 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. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment