From 6c850f3cea05162802e90b00bc6a97216c674591 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 28 Dec 1995 23:14:23 +0000 Subject: [PATCH] (main): Call syms_of_xmenu if and only if HAVE_MENUS. --- src/emacs.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/emacs.c b/src/emacs.c index 08238e233d4..ad58cf57842 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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 (); -- 2.39.2