changeset 13881:15e38bb8df9c

(main): Call syms_of_xmenu if and only if HAVE_MENUS.
author Richard M. Stallman <rms@gnu.org>
date Thu, 28 Dec 1995 23:14:23 +0000
parents 3155d4b9046f
children 2631a29a614c
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 ();