]> code.delx.au - gnu-emacs/commitdiff
(FRAME_MSDOS_P): A new macro for MSDOS frames.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:05:11 +0000 (21:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:05:11 +0000 (21:05 +0000)
src/frame.h

index 2f4828e7d6d42f8b736837fb1d476d2b386eca12..2fed084a6c361dd5cc16e3859b8364d98efa176c 100644 (file)
@@ -311,6 +311,7 @@ typedef struct frame *FRAME_PTR;
 
 #define FRAME_X_P(f) ((f)->output_method == output_x_window)
 #define FRAME_WIN32_P(f) ((f)->output_method == output_win32)
+#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
 
 /* FRAME_WINDOW_P tests whether the frame is a window, and is
    defined to be the predicate for the window system being used.  */
@@ -469,6 +470,7 @@ extern FRAME_PTR selected_frame;
 extern FRAME_PTR last_nonminibuf_frame;
 
 #define FRAME_LIVE_P(f) 1
+#define FRAME_MSDOS_P(f) 0
 #ifdef MSDOS
 /* The following definitions could also be used in the non-MSDOS case,
    but the constants below lead to better code.  */