diff options
| author | Richard M. Stallman | 1995-12-28 23:14:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-12-28 23:14:23 +0000 |
| commit | 6c850f3cea05162802e90b00bc6a97216c674591 (patch) | |
| tree | 14c7cee7da0fba24aa50227443fef90071fa7e61 /src | |
| parent | e163fa7b852550ba64d0c206844288d4af354ac9 (diff) | |
| download | emacs-6c850f3cea05162802e90b00bc6a97216c674591.tar.gz emacs-6c850f3cea05162802e90b00bc6a97216c674591.zip | |
(main): Call syms_of_xmenu if and only if HAVE_MENUS.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 8 |
1 files 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\ | |||
| 865 | #ifdef HAVE_X11 | 865 | #ifdef HAVE_X11 |
| 866 | syms_of_xselect (); | 866 | syms_of_xselect (); |
| 867 | #endif | 867 | #endif |
| 868 | #ifdef HAVE_X_MENU | ||
| 869 | syms_of_xmenu (); | ||
| 870 | #endif /* HAVE_X_MENU */ | ||
| 871 | #endif /* HAVE_X_WINDOWS */ | 868 | #endif /* HAVE_X_WINDOWS */ |
| 872 | 869 | ||
| 873 | #if defined (MSDOS) && !defined (HAVE_X_WINDOWS) | 870 | #if defined (MSDOS) && !defined (HAVE_X_WINDOWS) |
| 874 | syms_of_xfaces (); | 871 | syms_of_xfaces (); |
| 875 | syms_of_xmenu (); | ||
| 876 | #endif | 872 | #endif |
| 877 | 873 | ||
| 874 | #ifdef HAVE_MENUS | ||
| 875 | syms_of_xmenu (); | ||
| 876 | #endif /* HAVE_MENUS */ | ||
| 877 | |||
| 878 | #ifdef HAVE_NTGUI | 878 | #ifdef HAVE_NTGUI |
| 879 | syms_of_win32term (); | 879 | syms_of_win32term (); |
| 880 | syms_of_win32fns (); | 880 | syms_of_win32fns (); |