aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-10 21:05:11 +0000
committerRichard M. Stallman1996-06-10 21:05:11 +0000
commit6f1817130257d24c9d4b5cca30ccf8f105c12d5f (patch)
treef4ff565fd126b3aab1c557b2e00b9cdd65e727ba /src
parent4d8cb748b89f792267b81034e1e061d58df6c0b1 (diff)
downloademacs-6f1817130257d24c9d4b5cca30ccf8f105c12d5f.tar.gz
emacs-6f1817130257d24c9d4b5cca30ccf8f105c12d5f.zip
(FRAME_MSDOS_P): A new macro for MSDOS frames.
Diffstat (limited to 'src')
-rw-r--r--src/frame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 2f4828e7d6d..2fed084a6c3 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -311,6 +311,7 @@ typedef struct frame *FRAME_PTR;
311 311
312#define FRAME_X_P(f) ((f)->output_method == output_x_window) 312#define FRAME_X_P(f) ((f)->output_method == output_x_window)
313#define FRAME_WIN32_P(f) ((f)->output_method == output_win32) 313#define FRAME_WIN32_P(f) ((f)->output_method == output_win32)
314#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
314 315
315/* FRAME_WINDOW_P tests whether the frame is a window, and is 316/* FRAME_WINDOW_P tests whether the frame is a window, and is
316 defined to be the predicate for the window system being used. */ 317 defined to be the predicate for the window system being used. */
@@ -469,6 +470,7 @@ extern FRAME_PTR selected_frame;
469extern FRAME_PTR last_nonminibuf_frame; 470extern FRAME_PTR last_nonminibuf_frame;
470 471
471#define FRAME_LIVE_P(f) 1 472#define FRAME_LIVE_P(f) 1
473#define FRAME_MSDOS_P(f) 0
472#ifdef MSDOS 474#ifdef MSDOS
473/* The following definitions could also be used in the non-MSDOS case, 475/* The following definitions could also be used in the non-MSDOS case,
474 but the constants below lead to better code. */ 476 but the constants below lead to better code. */