diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-01 09:11:36 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-01 09:11:36 +0400 |
commit | 3a45383a47009a5e6a15a4005ad95ecf63539182 (patch) | |
tree | 77f59be478e92b130263034efa3ca94e203cee38 /src/textprop.c | |
parent | c1dbc63c93c5702da44ef7e3cc281ac3bb7941ce (diff) | |
download | emacs-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/textprop.c')
-rw-r--r-- | src/textprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c index 8aa52bebe5b..ee5d82fa170 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -587,7 +587,7 @@ get_char_property_and_overlay (Lisp_Object position, register Lisp_Object prop, if (WINDOWP (object)) { w = XWINDOW (object); - object = w->buffer; + object = WVAR (w, buffer); } if (BUFFERP (object)) { |