diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-04-05 18:07:02 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-04-05 18:07:02 +0400 |
commit | 73931ad14ad7a51d91f10b19ae9ca8cadb256916 (patch) | |
tree | 43ac5997fa67fa4824162b85b84104b1056ab5ce /src/msdos.c | |
parent | 632556e4feb1121faff0c6fd31ee84f7e13591ec (diff) |
Consistently use platform-specific function to detect window system.
* lisp.h (check_window_system): New prototype. This function is
going to replace check_x, check_w32 and check_ns.
(have_menus_p): Mention msdos.c in comment.
* fontset.c (check_window_system_func): Remove. Adjust all users.
* fontset.h (check_window_system_func): Remove prototype.
* nsterm.h (check_ns):
* xterm.h (check_x):
* w32term.h (check_w32): Likewise.
* menu.c (Fx_popup_menu): Use check_window_system.
* msdos.c (check_window_system): Define for MS-DOS.
* nsfns.m (check_window_system): Define for NS. Adjust all users.
* w32fns.c (check_window_system): Likewise for MS-Windows.
* xfns.c (check_window_system): Likewise for X.
* font.c, frame.c, nsmenu.m, nsselect.m, nsterm.m, w32menu.c:
* xfaces.c, xmenu.c: Use check_window_system where appropriate.
Diffstat (limited to 'src/msdos.c')
-rw-r--r-- | src/msdos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/msdos.c b/src/msdos.c index 695cca6072..dc79b66e0b 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -1920,7 +1920,7 @@ dos_get_saved_screen (char **screen, int *rows, int *cols) /* We are not X, but we can emulate it well enough for our needs... */ void -check_x (void) +check_window_system (void) { if (! FRAME_MSDOS_P (SELECTED_FRAME ())) error ("Not running under a window system"); |