From: Richard M. Stallman Date: Mon, 25 Dec 1995 01:47:56 +0000 (+0000) Subject: (have_menus_p): Defined. X-Git-Tag: emacs-19.34~2012 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3eb1dbb6efedcab224d930ac89d4bbff09a2f36b;p=emacs.git (have_menus_p): Defined. --- diff --git a/src/msdos.c b/src/msdos.c index 13be3e89f07..5df46edf946 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -223,7 +223,7 @@ mouse_init () mouse_moveto (0, 0); mouse_visible = 0; } - + /* ------------------------- Screen control ---------------------- * */ @@ -776,8 +776,6 @@ dos_get_saved_screen (screen, rows, cols) return 0; #endif } - - /* ----------------------- Keyboard control ---------------------- * @@ -1619,9 +1617,17 @@ IT_menu_display (XMenu *menu, int y, int x, int *faces) IT_cursor_to (row, col); xfree (text); } - + /* --------------------------- X Menu emulation ---------------------- */ +/* Report availability of menus. */ + +int +have_menus_p () +{ + return 1; +} + /* Create a brand new menu structure. */ XMenu * @@ -1853,8 +1859,7 @@ x_pixel_height (struct frame *f) return FRAME_HEIGHT (f); } #endif /* !HAVE_X_WINDOWS */ - - + /* ----------------------- DOS / UNIX conversion --------------------- */ /* Destructively turn backslashes into slashes. */ @@ -2308,8 +2313,7 @@ croak (badfunc) reset_sys_modes (); exit (1); } - - + /* ------------------------- Compatibility functions ------------------- * gethostname * gettimeofday