diff options
| author | Richard M. Stallman | 1995-12-25 01:47:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-12-25 01:47:56 +0000 |
| commit | 3eb1dbb6efedcab224d930ac89d4bbff09a2f36b (patch) | |
| tree | b6d7201cd987312eb1404dd0ae205229cbff1811 | |
| parent | 32b558fad310ed852405b77e1b2db6730c444e58 (diff) | |
| download | emacs-3eb1dbb6efedcab224d930ac89d4bbff09a2f36b.tar.gz emacs-3eb1dbb6efedcab224d930ac89d4bbff09a2f36b.zip | |
(have_menus_p): Defined.
| -rw-r--r-- | src/msdos.c | 20 |
1 files changed, 12 insertions, 8 deletions
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 () | |||
| 223 | mouse_moveto (0, 0); | 223 | mouse_moveto (0, 0); |
| 224 | mouse_visible = 0; | 224 | mouse_visible = 0; |
| 225 | } | 225 | } |
| 226 | 226 | ||
| 227 | /* ------------------------- Screen control ---------------------- | 227 | /* ------------------------- Screen control ---------------------- |
| 228 | * | 228 | * |
| 229 | */ | 229 | */ |
| @@ -776,8 +776,6 @@ dos_get_saved_screen (screen, rows, cols) | |||
| 776 | return 0; | 776 | return 0; |
| 777 | #endif | 777 | #endif |
| 778 | } | 778 | } |
| 779 | |||
| 780 | |||
| 781 | 779 | ||
| 782 | /* ----------------------- Keyboard control ---------------------- | 780 | /* ----------------------- Keyboard control ---------------------- |
| 783 | * | 781 | * |
| @@ -1619,9 +1617,17 @@ IT_menu_display (XMenu *menu, int y, int x, int *faces) | |||
| 1619 | IT_cursor_to (row, col); | 1617 | IT_cursor_to (row, col); |
| 1620 | xfree (text); | 1618 | xfree (text); |
| 1621 | } | 1619 | } |
| 1622 | 1620 | ||
| 1623 | /* --------------------------- X Menu emulation ---------------------- */ | 1621 | /* --------------------------- X Menu emulation ---------------------- */ |
| 1624 | 1622 | ||
| 1623 | /* Report availability of menus. */ | ||
| 1624 | |||
| 1625 | int | ||
| 1626 | have_menus_p () | ||
| 1627 | { | ||
| 1628 | return 1; | ||
| 1629 | } | ||
| 1630 | |||
| 1625 | /* Create a brand new menu structure. */ | 1631 | /* Create a brand new menu structure. */ |
| 1626 | 1632 | ||
| 1627 | XMenu * | 1633 | XMenu * |
| @@ -1853,8 +1859,7 @@ x_pixel_height (struct frame *f) | |||
| 1853 | return FRAME_HEIGHT (f); | 1859 | return FRAME_HEIGHT (f); |
| 1854 | } | 1860 | } |
| 1855 | #endif /* !HAVE_X_WINDOWS */ | 1861 | #endif /* !HAVE_X_WINDOWS */ |
| 1856 | 1862 | ||
| 1857 | |||
| 1858 | /* ----------------------- DOS / UNIX conversion --------------------- */ | 1863 | /* ----------------------- DOS / UNIX conversion --------------------- */ |
| 1859 | 1864 | ||
| 1860 | /* Destructively turn backslashes into slashes. */ | 1865 | /* Destructively turn backslashes into slashes. */ |
| @@ -2308,8 +2313,7 @@ croak (badfunc) | |||
| 2308 | reset_sys_modes (); | 2313 | reset_sys_modes (); |
| 2309 | exit (1); | 2314 | exit (1); |
| 2310 | } | 2315 | } |
| 2311 | 2316 | ||
| 2312 | |||
| 2313 | /* ------------------------- Compatibility functions ------------------- | 2317 | /* ------------------------- Compatibility functions ------------------- |
| 2314 | * gethostname | 2318 | * gethostname |
| 2315 | * gettimeofday | 2319 | * gettimeofday |