From: Gerd Moellmann Date: Thu, 18 Jan 2001 14:09:17 +0000 (+0000) Subject: * window.c (Fwindow_live_p): Use WINDOW_LIVE_P. X-Git-Tag: emacs-pretest-21.0.96~221 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9e571f494c4dc89dca613aff9d7518f3a4ad5fef;p=emacs.git * window.c (Fwindow_live_p): Use WINDOW_LIVE_P. --- 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