From: Richard M. Stallman Date: Thu, 28 Dec 1995 23:14:23 +0000 (+0000) Subject: (main): Call syms_of_xmenu if and only if HAVE_MENUS. X-Git-Tag: emacs-19.34~1979 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c850f3cea05162802e90b00bc6a97216c674591;p=emacs.git (main): Call syms_of_xmenu if and only if HAVE_MENUS. --- 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 ();