Commit 6c850f3c authored by Richard M. Stallman's avatar Richard M. Stallman

(main): Call syms_of_xmenu if and only if HAVE_MENUS.

parent e163fa7b
......@@ -865,16 +865,16 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#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 ();
syms_of_xmenu ();
#endif
#ifdef HAVE_MENUS
syms_of_xmenu ();
#endif /* HAVE_MENUS */
#ifdef HAVE_NTGUI
syms_of_win32term ();
syms_of_win32fns ();
......
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