Mercurial > emacs
diff 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 |
line wrap: on
line diff
--- a/src/xdisp.c Mon Dec 11 14:33:47 2000 +0000 +++ b/src/xdisp.c Mon Dec 11 14:36:45 2000 +0000 @@ -10798,6 +10798,11 @@ = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); #endif + row = row_containing_pos (w, PT, r0, NULL); + if (row == NULL) + return 0; + + set_cursor_from_row (w, row, w->current_matrix, 0, 0, 0, 0); return 1; }