# HG changeset patch # User Richard M. Stallman # Date 1157824277 0 # Node ID 6db6c056fc469b20b6977e51f8066dc12561c11b # Parent 926790a4fc59d17d9be4c64ee3ac8b2e5fe799ec (Vmenu_updating_frame): Don't define here. (syms_of_xmenu): Don't DEFVAR it here. diff -r 926790a4fc59 -r 6db6c056fc46 src/xmenu.c --- a/src/xmenu.c Sat Sep 09 17:19:37 2006 +0000 +++ b/src/xmenu.c Sat Sep 09 17:51:17 2006 +0000 @@ -97,10 +97,10 @@ #define FALSE 0 #endif /* no TRUE */ -Lisp_Object Vmenu_updating_frame; - Lisp_Object Qdebug_on_next_call; +extern Lisp_Object Vmenu_updating_frame; + extern Lisp_Object Qmenu_bar; extern Lisp_Object QCtoggle, QCradio; @@ -3758,11 +3758,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; - #ifdef USE_X_TOOLKIT widget_id_tick = (1<<16); next_menubar_widget_id = 1;