]> git.eshelyaron.com Git - emacs.git/commitdiff
* window.c (Fwindow_live_p): Use WINDOW_LIVE_P.
authorGerd Moellmann <gerd@gnu.org>
Thu, 18 Jan 2001 14:09:17 +0000 (14:09 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 18 Jan 2001 14:09:17 +0000 (14:09 +0000)
src/window.c

index fe899c842655874cb949ea7c4a4089c15c79d831..80400ddfc855f95fddb279d24af69c71547d73dc 100644 (file)
@@ -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