Mercurial > emacs
comparison src/xterm.c @ 28417:4b675266db04
* lisp.h (XCONS, XSTRING, XSYMBOL, XFLOAT, XPROCESS, XWINDOW, XSUBR, XBUFFER):
Verify correct object type before returning pointer, using eassert.
* frame.h (XFRAME): Likewise.
* buffer.c (Frename_buffer, Fset_buffer_multibyte,
swap_out_buffer_local_variables, Fmove_overlay): Don't apply XSYMBOL, XBUFFER,
etc, to values that may be nil or of the wrong type.
* data.c (set_internal): Likewise.
* dispextern.h (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Likewise.
* fileio.c (auto_save_1): Likewise.
* insdel.c (check_markers): Likewise.
* marker.c (buf_charpos_to_bytepos, unchain_marker): Likewise.
* undo.c (record_insert): Likewise.
* vmsproc.c (child_sig): Likewise.
* window.c (unshow_buffer, window_loop): Likewise.
* xterm.c (x_erase_phys_cursor): Likewise.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Thu, 30 Mar 2000 09:56:31 +0000 |
parents | c94ec7e56746 |
children | 17fb2089c222 |
comparison
equal
deleted
inserted
replaced
28416:24ba809218ad | 28417:4b675266db04 |
---|---|
10223 if (w->phys_cursor.hpos >= cursor_row->used[TEXT_AREA]) | 10223 if (w->phys_cursor.hpos >= cursor_row->used[TEXT_AREA]) |
10224 goto mark_cursor_off; | 10224 goto mark_cursor_off; |
10225 | 10225 |
10226 /* If the cursor is in the mouse face area, redisplay that when | 10226 /* If the cursor is in the mouse face area, redisplay that when |
10227 we clear the cursor. */ | 10227 we clear the cursor. */ |
10228 if (w == XWINDOW (dpyinfo->mouse_face_window) | 10228 if (! NILP (dpyinfo->mouse_face_window) |
10229 && w == XWINDOW (dpyinfo->mouse_face_window) | |
10229 && (vpos > dpyinfo->mouse_face_beg_row | 10230 && (vpos > dpyinfo->mouse_face_beg_row |
10230 || (vpos == dpyinfo->mouse_face_beg_row | 10231 || (vpos == dpyinfo->mouse_face_beg_row |
10231 && hpos >= dpyinfo->mouse_face_beg_col)) | 10232 && hpos >= dpyinfo->mouse_face_beg_col)) |
10232 && (vpos < dpyinfo->mouse_face_end_row | 10233 && (vpos < dpyinfo->mouse_face_end_row |
10233 || (vpos == dpyinfo->mouse_face_end_row | 10234 || (vpos == dpyinfo->mouse_face_end_row |