diff src/w32menu.c @ 72773:15d914de92fd

* src/macmenu.c (Vmenu_updating_frame, syms_of_xmenu): * src/w32menu.c (Vmenu_updating_frame, syms_of_xmenu): Apply 2006-09-08 change for xmenu.c.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sun, 10 Sep 2006 05:52:01 +0000
parents 6e63f47b8977
children 3901ff3eaf2c a1a25ac6c88a
line wrap: on
line diff
--- a/src/w32menu.c	Sun Sep 10 05:51:45 2006 +0000
+++ b/src/w32menu.c	Sun Sep 10 05:52:01 2006 +0000
@@ -149,9 +149,9 @@
 SetMenuItemInfoA_Proc set_menu_item_info = NULL;
 AppendMenuW_Proc unicode_append_menu = NULL;
 
-Lisp_Object Vmenu_updating_frame;
+Lisp_Object Qdebug_on_next_call;
 
-Lisp_Object Qdebug_on_next_call;
+extern Lisp_Object Vmenu_updating_frame;
 
 extern Lisp_Object Qmenu_bar;
 
@@ -2548,11 +2548,6 @@
   Qdebug_on_next_call = intern ("debug-on-next-call");
   staticpro (&Qdebug_on_next_call);
 
-  DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame,
-	       doc: /* Frame for which we are updating a menu.
-The enable predicate for a menu command should check this variable.  */);
-  Vmenu_updating_frame = Qnil;
-
   defsubr (&Sx_popup_menu);
 #ifdef HAVE_MENUS
   defsubr (&Sx_popup_dialog);