]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Call Qrecompute_lucid_menubar only if defined.
authorRichard M. Stallman <rms@gnu.org>
Tue, 27 Jul 1993 22:49:05 +0000 (22:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 27 Jul 1993 22:49:05 +0000 (22:49 +0000)
src/keyboard.c

index fc1ac681f16bb6f79089f0d6fe8687deecc678c8..5714ec6ac138ee56a98e107acd196b3e63fc86fa 100644 (file)
@@ -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.  */