Mercurial > emacs
comparison src/xmenu.c @ 72757:6db6c056fc46
(Vmenu_updating_frame): Don't define here.
(syms_of_xmenu): Don't DEFVAR it here.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 09 Sep 2006 17:51:17 +0000 |
parents | 01f0740963b0 |
children | f295b430aa3a |
comparison
equal
deleted
inserted
replaced
72756:926790a4fc59 | 72757:6db6c056fc46 |
---|---|
95 #ifndef TRUE | 95 #ifndef TRUE |
96 #define TRUE 1 | 96 #define TRUE 1 |
97 #define FALSE 0 | 97 #define FALSE 0 |
98 #endif /* no TRUE */ | 98 #endif /* no TRUE */ |
99 | 99 |
100 Lisp_Object Vmenu_updating_frame; | |
101 | |
102 Lisp_Object Qdebug_on_next_call; | 100 Lisp_Object Qdebug_on_next_call; |
101 | |
102 extern Lisp_Object Vmenu_updating_frame; | |
103 | 103 |
104 extern Lisp_Object Qmenu_bar; | 104 extern Lisp_Object Qmenu_bar; |
105 | 105 |
106 extern Lisp_Object QCtoggle, QCradio; | 106 extern Lisp_Object QCtoggle, QCradio; |
107 | 107 |
3756 menu_items_inuse = Qnil; | 3756 menu_items_inuse = Qnil; |
3757 | 3757 |
3758 Qdebug_on_next_call = intern ("debug-on-next-call"); | 3758 Qdebug_on_next_call = intern ("debug-on-next-call"); |
3759 staticpro (&Qdebug_on_next_call); | 3759 staticpro (&Qdebug_on_next_call); |
3760 | 3760 |
3761 DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame, | |
3762 doc: /* Frame for which we are updating a menu. | |
3763 The enable predicate for a menu command should check this variable. */); | |
3764 Vmenu_updating_frame = Qnil; | |
3765 | |
3766 #ifdef USE_X_TOOLKIT | 3761 #ifdef USE_X_TOOLKIT |
3767 widget_id_tick = (1<<16); | 3762 widget_id_tick = (1<<16); |
3768 next_menubar_widget_id = 1; | 3763 next_menubar_widget_id = 1; |
3769 #endif | 3764 #endif |
3770 | 3765 |