summaryrefslogtreecommitdiff
path: root/src/textprop.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-07 11:33:18 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-07 11:33:18 +0400
commitd3d50620ed3a8066c15ae3d3701b83371ca5382a (patch)
tree817b59ba17d232cd087b0b24d84683c8ff094f62 /src/textprop.c
parentd10a51dcdfab2d9283bd2e3229330c511d5af193 (diff)
downloademacs-d3d50620ed3a8066c15ae3d3701b83371ca5382a.tar.gz
Drop WGET and revert read access to Lisp_Objects slots of struct window.
* window.h (WGET): Remove. (struct window): Do not use INTERNAL_FIELD. * alloc.c, buffer.c, composite.c, dispextern.h, dispnew.c, editfns.c: * fileio.c, font.c, fontset.c, frame.c, frame.h, fringe.c, indent.c: * insdel.c, keyboard.c, keymap.c, lisp.h, minibuf.c, msdos.c, nsfns.m: * nsmenu.m, nsterm.m, print.c, textprop.c, w32fns.c, w32menu.c: * w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, xterm.c: Adjust users.
Diffstat (limited to 'src/textprop.c')
-rw-r--r--src/textprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 02f134ec033..8aa52bebe5b 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 = WGET (w, buffer);
+ object = w->buffer;
}
if (BUFFERP (object))
{