comparison src/xdisp.c @ 34438:524c7ecc8ef4

(try_window_id) <all changes above window start>: Set the cursor.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 11 Dec 2000 14:36:45 +0000
parents 28c3e736ae57
children 6fff04f818fa
comparison
equal deleted inserted replaced
34437:bafce26f4c77 34438:524c7ecc8ef4
10796 = make_number (Z - MATRIX_ROW_END_CHARPOS (row)); 10796 = make_number (Z - MATRIX_ROW_END_CHARPOS (row));
10797 w->window_end_bytepos 10797 w->window_end_bytepos
10798 = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); 10798 = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row);
10799 #endif 10799 #endif
10800 10800
10801 row = row_containing_pos (w, PT, r0, NULL);
10802 if (row == NULL)
10803 return 0;
10804
10805 set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0);
10801 return 1; 10806 return 1;
10802 } 10807 }
10803 10808
10804 /* Return quickly if changes are all below what is displayed in the 10809 /* Return quickly if changes are all below what is displayed in the
10805 window, and if PT is in the window. */ 10810 window, and if PT is in the window. */