Mercurial > emacs
comparison src/window.c @ 36471:bd660efb3fe7
(Fwindow_end): Call move_it_past_eol only if
ending up on a partially visible line.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Thu, 01 Mar 2001 19:31:06 +0000 |
| parents | f2fc8b180aaa |
| children | f85346ef86be |
comparison
equal
deleted
inserted
replaced
| 36470:67c8e0a89b2d | 36471:bd660efb3fe7 |
|---|---|
| 928 set_buffer_internal (b); | 928 set_buffer_internal (b); |
| 929 } | 929 } |
| 930 | 930 |
| 931 start_display (&it, w, startp); | 931 start_display (&it, w, startp); |
| 932 move_it_vertically (&it, window_box_height (w)); | 932 move_it_vertically (&it, window_box_height (w)); |
| 933 move_it_past_eol (&it); | 933 if (it.current_y < it.last_visible_y) |
| 934 move_it_past_eol (&it); | |
| 934 value = make_number (IT_CHARPOS (it)); | 935 value = make_number (IT_CHARPOS (it)); |
| 935 | 936 |
| 936 if (old_buffer) | 937 if (old_buffer) |
| 937 set_buffer_internal (old_buffer); | 938 set_buffer_internal (old_buffer); |
| 938 } | 939 } |
