# HG changeset patch # User Richard M. Stallman # Date 820192463 0 # Node ID 15e38bb8df9cbc3f5b695130e7397ac2914ea596 # Parent 3155d4b9046f4c535674bb32765aa6e758acdcf4 (main): Call syms_of_xmenu if and only if HAVE_MENUS. diff -r 3155d4b9046f -r 15e38bb8df9c src/emacs.c --- a/src/emacs.c Thu Dec 28 22:43:24 1995 +0000 +++ b/src/emacs.c Thu Dec 28 23:14:23 1995 +0000 @@ -865,15 +865,15 @@ #ifdef HAVE_X11 syms_of_xselect (); #endif -#ifdef HAVE_X_MENU - syms_of_xmenu (); -#endif /* HAVE_X_MENU */ #endif /* HAVE_X_WINDOWS */ #if defined (MSDOS) && !defined (HAVE_X_WINDOWS) syms_of_xfaces (); +#endif + +#ifdef HAVE_MENUS syms_of_xmenu (); -#endif +#endif /* HAVE_MENUS */ #ifdef HAVE_NTGUI syms_of_win32term ();