Mercurial > emacs
diff src/window.h @ 35399:21663e5e70de
(WINDOW_LIVE_P): New macro.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Thu, 18 Jan 2001 14:09:39 +0000 |
| parents | 10539ef3d8e8 |
| children | 72b9c859446e |
line wrap: on
line diff
--- a/src/window.h Thu Jan 18 14:09:17 2001 +0000 +++ b/src/window.h Thu Jan 18 14:09:39 2001 +0000 @@ -1,5 +1,6 @@ /* Window definitions for GNU Emacs. - Copyright (C) 1985, 1986, 1993, 1995 Free Software Foundation, Inc. + Copyright (C) 1985, 1986, 1993, 1995, 1997, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -446,4 +447,9 @@ struct glyph *get_phys_cursor_glyph P_ ((struct window *w)); +/* Value is non-zero if WINDOW is a live window. */ + +#define WINDOW_LIVE_P(WINDOW) \ + (WINDOWP ((WINDOW)) && !NILP (XWINDOW ((WINDOW))->buffer)) + #endif /* not WINDOW_H_INCLUDED */
