Commit 3eb1dbb6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(have_menus_p): Defined.

parent 32b558fa
...@@ -223,7 +223,7 @@ mouse_init () ...@@ -223,7 +223,7 @@ mouse_init ()
mouse_moveto (0, 0); mouse_moveto (0, 0);
mouse_visible = 0; mouse_visible = 0;
} }
/* ------------------------- Screen control ---------------------- /* ------------------------- Screen control ----------------------
* *
*/ */
...@@ -776,8 +776,6 @@ dos_get_saved_screen (screen, rows, cols) ...@@ -776,8 +776,6 @@ dos_get_saved_screen (screen, rows, cols)
return 0; return 0;
#endif #endif
} }
/* ----------------------- Keyboard control ---------------------- /* ----------------------- Keyboard control ----------------------
* *
...@@ -1619,9 +1617,17 @@ IT_menu_display (XMenu *menu, int y, int x, int *faces) ...@@ -1619,9 +1617,17 @@ IT_menu_display (XMenu *menu, int y, int x, int *faces)
IT_cursor_to (row, col); IT_cursor_to (row, col);
xfree (text); xfree (text);
} }
/* --------------------------- X Menu emulation ---------------------- */ /* --------------------------- X Menu emulation ---------------------- */
/* Report availability of menus. */
int
have_menus_p ()
{
return 1;
}
/* Create a brand new menu structure. */ /* Create a brand new menu structure. */
XMenu * XMenu *
...@@ -1853,8 +1859,7 @@ x_pixel_height (struct frame *f) ...@@ -1853,8 +1859,7 @@ x_pixel_height (struct frame *f)
return FRAME_HEIGHT (f); return FRAME_HEIGHT (f);
} }
#endif /* !HAVE_X_WINDOWS */ #endif /* !HAVE_X_WINDOWS */
/* ----------------------- DOS / UNIX conversion --------------------- */ /* ----------------------- DOS / UNIX conversion --------------------- */
/* Destructively turn backslashes into slashes. */ /* Destructively turn backslashes into slashes. */
...@@ -2308,8 +2313,7 @@ croak (badfunc) ...@@ -2308,8 +2313,7 @@ croak (badfunc)
reset_sys_modes (); reset_sys_modes ();
exit (1); exit (1);
} }
/* ------------------------- Compatibility functions ------------------- /* ------------------------- Compatibility functions -------------------
* gethostname * gethostname
* gettimeofday * gettimeofday
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment