aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/window.h b/src/window.h
index c5737ef7238..36ca6811d5e 100644
--- a/src/window.h
+++ b/src/window.h
@@ -1,5 +1,6 @@
1/* Window definitions for GNU Emacs. 1/* Window definitions for GNU Emacs.
2 Copyright (C) 1985, 1986, 1993, 1995 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001
3 Free Software Foundation, Inc.
3 4
4This file is part of GNU Emacs. 5This file is part of GNU Emacs.
5 6
@@ -446,4 +447,9 @@ extern void check_frame_size P_ ((struct frame *frame, int *rows, int *cols));
446 447
447struct glyph *get_phys_cursor_glyph P_ ((struct window *w)); 448struct glyph *get_phys_cursor_glyph P_ ((struct window *w));
448 449
450/* Value is non-zero if WINDOW is a live window. */
451
452#define WINDOW_LIVE_P(WINDOW) \
453 (WINDOWP ((WINDOW)) && !NILP (XWINDOW ((WINDOW))->buffer))
454
449#endif /* not WINDOW_H_INCLUDED */ 455#endif /* not WINDOW_H_INCLUDED */