diff options
| author | Richard M. Stallman | 2006-09-09 17:51:17 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-09-09 17:51:17 +0000 |
| commit | 4248ca0c2f57ea1f62afab346275196c06cb1bf3 (patch) | |
| tree | 0e58486bf001554302afa48d784da3eb01f18b2a /src/xmenu.c | |
| parent | 5c7f73500349e5d37f08e50bed9edae0238a0616 (diff) | |
| download | emacs-4248ca0c2f57ea1f62afab346275196c06cb1bf3.tar.gz emacs-4248ca0c2f57ea1f62afab346275196c06cb1bf3.zip | |
(Vmenu_updating_frame): Don't define here.
(syms_of_xmenu): Don't DEFVAR it here.
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index 5a71d82a424..574240a4560 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -97,10 +97,10 @@ Boston, MA 02110-1301, USA. */ | |||
| 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; |
| 103 | 101 | ||
| 102 | extern Lisp_Object Vmenu_updating_frame; | ||
| 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; |
| @@ -3758,11 +3758,6 @@ syms_of_xmenu () | |||
| 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; |