mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-09 01:05:39 -08:00
(have_menus_p): Defined.
This commit is contained in:
parent
32b558fad3
commit
3eb1dbb6ef
1 changed files with 12 additions and 8 deletions
20
src/msdos.c
20
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue