changeset 2514:6700e25af205

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.
author Jim Blandy <jimb@redhat.com>
date Sat, 10 Apr 1993 08:04:27 +0000
parents d93605655958
children c0cdd6a80391
files src/xmenu.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }