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/msdos.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/msdos.c')
| -rw-r--r-- | src/msdos.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/msdos.c b/src/msdos.c index 8ff038791ca..cc206b6643c 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -594,7 +594,7 @@ dos_set_window_size (int *rows, int *cols) | |||
| 594 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); | 594 | Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); |
| 595 | Lisp_Object window = hlinfo->mouse_face_window; | 595 | Lisp_Object window = hlinfo->mouse_face_window; |
| 596 | 596 | ||
| 597 | if (! NILP (window) && XFRAME (WVAR (XWINDOW (window), frame)) == f) | 597 | if (! NILP (window) && XFRAME (WGET (XWINDOW (window), frame)) == f) |
| 598 | { | 598 | { |
| 599 | hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1; | 599 | hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1; |
| 600 | hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1; | 600 | hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1; |
| @@ -1255,7 +1255,7 @@ IT_update_begin (struct frame *f) | |||
| 1255 | /* If the mouse highlight is in the window that was deleted | 1255 | /* If the mouse highlight is in the window that was deleted |
| 1256 | (e.g., if it was popped by completion), clear highlight | 1256 | (e.g., if it was popped by completion), clear highlight |
| 1257 | unconditionally. */ | 1257 | unconditionally. */ |
| 1258 | if (NILP (WVAR (w, buffer))) | 1258 | if (NILP (WGET (w, buffer))) |
| 1259 | hlinfo->mouse_face_window = Qnil; | 1259 | hlinfo->mouse_face_window = Qnil; |
| 1260 | else | 1260 | else |
| 1261 | { | 1261 | { |
| @@ -1265,7 +1265,7 @@ IT_update_begin (struct frame *f) | |||
| 1265 | break; | 1265 | break; |
| 1266 | } | 1266 | } |
| 1267 | 1267 | ||
| 1268 | if (NILP (WVAR (w, buffer)) || i < w->desired_matrix->nrows) | 1268 | if (NILP (WGET (w, buffer)) || i < w->desired_matrix->nrows) |
| 1269 | clear_mouse_face (hlinfo); | 1269 | clear_mouse_face (hlinfo); |
| 1270 | } | 1270 | } |
| 1271 | } | 1271 | } |
| @@ -1327,7 +1327,7 @@ IT_frame_up_to_date (struct frame *f) | |||
| 1327 | new_cursor = frame_desired_cursor; | 1327 | new_cursor = frame_desired_cursor; |
| 1328 | else | 1328 | else |
| 1329 | { | 1329 | { |
| 1330 | struct buffer *b = XBUFFER (WVAR (sw, buffer)); | 1330 | struct buffer *b = XBUFFER (WGET (sw, buffer)); |
| 1331 | 1331 | ||
| 1332 | if (EQ (BVAR (b,cursor_type), Qt)) | 1332 | if (EQ (BVAR (b,cursor_type), Qt)) |
| 1333 | new_cursor = frame_desired_cursor; | 1333 | new_cursor = frame_desired_cursor; |