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/font.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/font.c')
| -rw-r--r-- | src/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.c b/src/font.c index ca0ccc171eb..db1d12de8a2 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -3665,7 +3665,7 @@ font_at (int c, ptrdiff_t pos, struct face *face, struct window *w, | |||
| 3665 | } | 3665 | } |
| 3666 | } | 3666 | } |
| 3667 | 3667 | ||
| 3668 | f = XFRAME (WVAR (w, frame)); | 3668 | f = XFRAME (WGET (w, frame)); |
| 3669 | if (! FRAME_WINDOW_P (f)) | 3669 | if (! FRAME_WINDOW_P (f)) |
| 3670 | return Qnil; | 3670 | return Qnil; |
| 3671 | if (! face) | 3671 | if (! face) |
| @@ -3723,7 +3723,7 @@ font_range (ptrdiff_t pos, ptrdiff_t *limit, struct window *w, struct face *face | |||
| 3723 | 3723 | ||
| 3724 | face_id = face_at_buffer_position (w, pos, 0, 0, &ignore, | 3724 | face_id = face_at_buffer_position (w, pos, 0, 0, &ignore, |
| 3725 | *limit, 0, -1); | 3725 | *limit, 0, -1); |
| 3726 | face = FACE_FROM_ID (XFRAME (WVAR (w, frame)), face_id); | 3726 | face = FACE_FROM_ID (XFRAME (WGET (w, frame)), face_id); |
| 3727 | } | 3727 | } |
| 3728 | } | 3728 | } |
| 3729 | else | 3729 | else |