From 9e571f494c4dc89dca613aff9d7518f3a4ad5fef Mon Sep 17 00:00:00 2001
From: Gerd Moellmann <gerd@gnu.org>
Date: Thu, 18 Jan 2001 14:09:17 +0000
Subject: [PATCH] * window.c (Fwindow_live_p): Use WINDOW_LIVE_P.

---
 src/window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/window.c b/src/window.c
index fe899c84265..80400ddfc85 100644
--- a/src/window.c
+++ b/src/window.c
@@ -226,7 +226,7 @@ DEFUN ("window-live-p", Fwindow_live_p, Swindow_live_p, 1, 1, 0,
      (object)
      Lisp_Object object;
 {
-  return (WINDOWP (object) && ! NILP (XWINDOW (object)->buffer) ? Qt : Qnil);
+  return WINDOW_LIVE_P (object) ? Qt : Qnil;
 }
 
 Lisp_Object
-- 
2.39.5