diff options
| author | Dmitry Antipov | 2012-08-06 14:24:26 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-06 14:24:26 +0400 |
| commit | 077288cf3f654776ee44bc9b56954c4e26b10d96 (patch) | |
| tree | 00bbcb4dab9c879efde73a01786977b1c1364f67 /src/textprop.c | |
| parent | 71688bd7f9169c12ea8be54e084470f19d44ce44 (diff) | |
| download | emacs-077288cf3f654776ee44bc9b56954c4e26b10d96.tar.gz emacs-077288cf3f654776ee44bc9b56954c4e26b10d96.zip | |
Separate read and write access to Lisp_Object slots of struct window.
* window.h (WGET, WSET): New macros similar to AREF and ASET.
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c index ee5d82fa170..02f134ec033 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, | |||
| 587 | if (WINDOWP (object)) | 587 | if (WINDOWP (object)) |
| 588 | { | 588 | { |
| 589 | w = XWINDOW (object); | 589 | w = XWINDOW (object); |
| 590 | object = WVAR (w, buffer); | 590 | object = WGET (w, buffer); |
| 591 | } | 591 | } |
| 592 | if (BUFFERP (object)) | 592 | if (BUFFERP (object)) |
| 593 | { | 593 | { |