Separate read and write access to Lisp_Object slots of struct window.
[bpt/emacs.git] / src / lisp.h
index 8a6a2a9..aa06daa 100644 (file)
@@ -1787,7 +1787,7 @@ typedef struct {
    vchild, and hchild members are all nil.  */
 
 #define CHECK_LIVE_WINDOW(x) \
-  CHECK_TYPE (WINDOWP (x) && !NILP (WVAR (XWINDOW (x), buffer)), \
+  CHECK_TYPE (WINDOWP (x) && !NILP (WGET (XWINDOW (x), buffer)), \
              Qwindow_live_p, x)
 
 #define CHECK_PROCESS(x) \