aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-09-10 05:52:01 +0000
committerYAMAMOTO Mitsuharu2006-09-10 05:52:01 +0000
commit0e9ffc04d9c63bc7a56e6cd98097c76c957e92c2 (patch)
tree5885753daf2739126751175e983926dbd6ed024f /src
parent267fb7e271a0b8ac648f9a60c52caa373aaea237 (diff)
downloademacs-0e9ffc04d9c63bc7a56e6cd98097c76c957e92c2.tar.gz
emacs-0e9ffc04d9c63bc7a56e6cd98097c76c957e92c2.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/macmenu.c9
-rw-r--r--src/w32menu.c9
2 files changed, 4 insertions, 14 deletions
diff --git a/src/macmenu.c b/src/macmenu.c
index e7d69d5657c..72ab9f90667 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -158,10 +158,10 @@ typedef struct _widget_value
158#define FALSE 0 158#define FALSE 0
159#endif /* no TRUE */ 159#endif /* no TRUE */
160 160
161Lisp_Object Vmenu_updating_frame;
162
163Lisp_Object Qdebug_on_next_call; 161Lisp_Object Qdebug_on_next_call;
164 162
163extern Lisp_Object Vmenu_updating_frame;
164
165extern Lisp_Object Qmenu_bar, Qmac_apple_event; 165extern Lisp_Object Qmenu_bar, Qmac_apple_event;
166 166
167extern Lisp_Object QCtoggle, QCradio; 167extern Lisp_Object QCtoggle, QCradio;
@@ -2630,11 +2630,6 @@ syms_of_macmenu ()
2630 Qdebug_on_next_call = intern ("debug-on-next-call"); 2630 Qdebug_on_next_call = intern ("debug-on-next-call");
2631 staticpro (&Qdebug_on_next_call); 2631 staticpro (&Qdebug_on_next_call);
2632 2632
2633 DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame,
2634 doc: /* Frame for which we are updating a menu.
2635The enable predicate for a menu command should check this variable. */);
2636 Vmenu_updating_frame = Qnil;
2637
2638 defsubr (&Sx_popup_menu); 2633 defsubr (&Sx_popup_menu);
2639#ifdef HAVE_MENUS 2634#ifdef HAVE_MENUS
2640 defsubr (&Sx_popup_dialog); 2635 defsubr (&Sx_popup_dialog);
diff --git a/src/w32menu.c b/src/w32menu.c
index 11af1d66b6f..3a4dc20fc15 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -149,10 +149,10 @@ GetMenuItemInfoA_Proc get_menu_item_info = NULL;
149SetMenuItemInfoA_Proc set_menu_item_info = NULL; 149SetMenuItemInfoA_Proc set_menu_item_info = NULL;
150AppendMenuW_Proc unicode_append_menu = NULL; 150AppendMenuW_Proc unicode_append_menu = NULL;
151 151
152Lisp_Object Vmenu_updating_frame;
153
154Lisp_Object Qdebug_on_next_call; 152Lisp_Object Qdebug_on_next_call;
155 153
154extern Lisp_Object Vmenu_updating_frame;
155
156extern Lisp_Object Qmenu_bar; 156extern Lisp_Object Qmenu_bar;
157 157
158extern Lisp_Object QCtoggle, QCradio; 158extern Lisp_Object QCtoggle, QCradio;
@@ -2548,11 +2548,6 @@ void syms_of_w32menu ()
2548 Qdebug_on_next_call = intern ("debug-on-next-call"); 2548 Qdebug_on_next_call = intern ("debug-on-next-call");
2549 staticpro (&Qdebug_on_next_call); 2549 staticpro (&Qdebug_on_next_call);
2550 2550
2551 DEFVAR_LISP ("menu-updating-frame", &Vmenu_updating_frame,
2552 doc: /* Frame for which we are updating a menu.
2553The enable predicate for a menu command should check this variable. */);
2554 Vmenu_updating_frame = Qnil;
2555
2556 defsubr (&Sx_popup_menu); 2551 defsubr (&Sx_popup_menu);
2557#ifdef HAVE_MENUS 2552#ifdef HAVE_MENUS
2558 defsubr (&Sx_popup_dialog); 2553 defsubr (&Sx_popup_dialog);