diff options
| author | Dmitry Antipov | 2012-08-01 09:11:36 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-08-01 09:11:36 +0400 |
| commit | 3a45383a47009a5e6a15a4005ad95ecf63539182 (patch) | |
| tree | 77f59be478e92b130263034efa3ca94e203cee38 /src/alloc.c | |
| parent | c1dbc63c93c5702da44ef7e3cc281ac3bb7941ce (diff) | |
| download | emacs-3a45383a47009a5e6a15a4005ad95ecf63539182.tar.gz emacs-3a45383a47009a5e6a15a4005ad95ecf63539182.zip | |
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/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index f04f3c05134..d824a6a491e 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -6020,7 +6020,8 @@ mark_object (Lisp_Object arg) | |||
| 6020 | /* Mark glyphs for leaf windows. Marking window | 6020 | /* Mark glyphs for leaf windows. Marking window |
| 6021 | matrices is sufficient because frame matrices | 6021 | matrices is sufficient because frame matrices |
| 6022 | use the same glyph memory. */ | 6022 | use the same glyph memory. */ |
| 6023 | if (NILP (w->hchild) && NILP (w->vchild) && w->current_matrix) | 6023 | if (NILP (WVAR (w, hchild)) && NILP (WVAR (w, vchild)) |
| 6024 | && w->current_matrix) | ||
| 6024 | { | 6025 | { |
| 6025 | mark_glyph_matrix (w->current_matrix); | 6026 | mark_glyph_matrix (w->current_matrix); |
| 6026 | mark_glyph_matrix (w->desired_matrix); | 6027 | mark_glyph_matrix (w->desired_matrix); |