summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-12-25 01:47:56 +0000
committerRichard M. Stallman <rms@gnu.org>1995-12-25 01:47:56 +0000
commit2046f94957fc8b0ce836a84be36edebb68207ad9 (patch)
tree0410453a8849264e3ae0caa53d1814f448d3de46 /src
parent519ff7bf0615e2849bd05ac316a09bc282a5c56f (diff)
downloademacs-2046f94957fc8b0ce836a84be36edebb68207ad9.tar.gz
(have_menus_p): Defined.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c20
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 ()
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