summaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-01 09:11:36 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-01 09:11:36 +0400
commit3a45383a47009a5e6a15a4005ad95ecf63539182 (patch)
tree77f59be478e92b130263034efa3ca94e203cee38 /src/frame.h
parentc1dbc63c93c5702da44ef7e3cc281ac3bb7941ce (diff)
downloademacs-3a45383a47009a5e6a15a4005ad95ecf63539182.tar.gz
Use INTERNAL_FIELD for windows.
* src/window.h (WVAR): New macro. (struct window): Change Lisp_Object members to INTERNAL_FIELD. * src/alloc.c, src/buffer.c, src/composite.c, src/dispextern.h: * src/dispnew.c, src/editfns.c, src/fileio.c, src/font.c, src/fontset.c: * src/frame.c, src/frame.h, src/fringe.c, src/indent.c, src/insdel.c: * src/keyboard.c, src/keymap.c, src/lisp.h, src/minibuf.c, src/nsterm.m: * src/print.c, src/textprop.c, src/w32fns.c, src/w32menu.c, src/w32term.c: * src/window.c, src/xdisp.c, src/xfaces.c, src/xfns.c, src/xmenu.c: * src/xterm.c: Users changed. * admin/coccinelle/window.cocci: Semantic patch to replace direct access to Lisp_Object members of struct window to WVAR.
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index 1a1f8873348..22c0125ace9 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -511,7 +511,7 @@ typedef struct frame *FRAME_PTR;
#define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME))
/* Given a window, return its frame as a Lisp_Object. */
-#define WINDOW_FRAME(w) (w)->frame
+#define WINDOW_FRAME(w) WVAR (w, frame)
/* Test a frame for particular kinds of display methods. */
#define FRAME_INITIAL_P(f) ((f)->output_method == output_initial)