Commit 6904bdcd authored by Jim Blandy's avatar Jim Blandy
Browse files

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.
parent 367bf237
......@@ -71,7 +71,7 @@ extern Display *x_current_display;
#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 @@ xmenu_show (parent, startx, starty, line_list, enable_list, pane_list,
syms_of_xmenu ()
{
Qmenu_enable = intern ("menu-enable");
staticpro (&Qmenu_enable);
defsubr (&Sx_popup_menu);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment