changeset 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 59aa39575936
children 667b32d2c02c
files src/keyboard.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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.  */