# HG changeset patch # User Jim Blandy # Date 734429067 0 # Node ID 6700e25af205567fc53951235ec6a60e660b9ef0 # Parent d9360565595879cf05333fd83c5323e42a693f37 Since Qmenu_enable is used by non-X-specific code, it shouldn't be defined in an X-only source file. * xmenu.c (Qmenu_enable): Definition moved... (syms_of_xmenu): ... along with initialization ... * keyboard.c (Qmenu_enable): ... to here ... (syms_of_keyboard): ... and here. diff -r d93605655958 -r 6700e25af205 src/xmenu.c --- a/src/xmenu.c Sat Apr 10 08:03:51 1993 +0000 +++ b/src/xmenu.c Sat Apr 10 08:04:27 1993 +0000 @@ -71,7 +71,7 @@ #define ButtonReleaseMask ButtonReleased #endif /* not HAVE_X11 */ -Lisp_Object Qmenu_enable; +extern Lisp_Object Qmenu_enable; Lisp_Object xmenu_show (); extern int x_error_handler (); @@ -424,9 +424,6 @@ syms_of_xmenu () { - Qmenu_enable = intern ("menu-enable"); - - staticpro (&Qmenu_enable); defsubr (&Sx_popup_menu); }