diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-07 11:33:18 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2012-08-07 11:33:18 +0400 |
commit | d3d50620ed3a8066c15ae3d3701b83371ca5382a (patch) | |
tree | 817b59ba17d232cd087b0b24d84683c8ff094f62 /src/frame.h | |
parent | d10a51dcdfab2d9283bd2e3229330c511d5af193 (diff) | |
download | emacs-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/frame.h')
-rw-r--r-- | src/frame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h index 3af4c54589a..e07974fb4d2 100644 --- a/src/frame.h +++ b/src/frame.h @@ -511,7 +511,7 @@ typedef struct frame *FRAME_PTR; #define XSETFRAME(a, b) (XSETPSEUDOVECTOR (a, b, PVEC_FRAME)) /* Given a window, return its frame as a Lisp_Object. */ -#define WINDOW_FRAME(w) WGET (w, frame) +#define WINDOW_FRAME(w) w->frame /* Test a frame for particular kinds of display methods. */ #define FRAME_INITIAL_P(f) ((f)->output_method == output_initial) |