summaryrefslogtreecommitdiff
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-04-17 14:40:55 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-04-17 14:40:55 -0400
commit4581706e272ad522d495dd12040d94b86a333b6d (patch)
tree50838c2d820f42c489cbf94a9c603a5dbb0f42b2 /src/termhooks.h
parent14964899b30739df1df344f52f7790e533c698b5 (diff)
Minor redisplay cleanups.
* src/dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): Add missing definition for no-X builds. * src/termhooks.h (FRAME_WINDOW_P): Remove duplicated definitions. * src/xdisp.c (get_next_display_element): Remove unnecessary ifdefs.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 468381b69a..c6b1084f34 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -633,19 +633,6 @@ extern struct terminal *terminal_list;
#define FRAME_TERMINAL(f) ((f)->terminal)
-/* FRAME_WINDOW_P tests whether the frame is a window, and is
- defined to be the predicate for the window system being used. */
-
-#ifdef HAVE_X_WINDOWS
-#define FRAME_WINDOW_P(f) FRAME_X_P (f)
-#endif
-#ifdef HAVE_NTGUI
-#define FRAME_WINDOW_P(f) FRAME_W32_P (f)
-#endif
-#ifndef FRAME_WINDOW_P
-#define FRAME_WINDOW_P(f) (0)
-#endif
-
/* Return true if the terminal device is not suspended. */
#define TERMINAL_ACTIVE_P(d) (((d)->type != output_termcap && (d)->type !=output_msdos_raw) || (d)->display_info.tty->input)