diff options
| author | Jim Blandy <jimb@redhat.com> | 1991-08-02 00:39:31 +0000 |
|---|---|---|
| committer | Jim Blandy <jimb@redhat.com> | 1991-08-02 00:39:31 +0000 |
| commit | f7be7f78a51fbe2c9f6cfd559b47fd2d815b2756 (patch) | |
| tree | a0c48c6e82e959651b91b860a770ff0de4801fe2 /src | |
| parent | 3fc958a457c155b5975af0d940795fdb7b32e55a (diff) | |
| download | emacs-f7be7f78a51fbe2c9f6cfd559b47fd2d815b2756.tar.gz | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index ab0185a0789..0fd3e89ed58 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1036,7 +1036,7 @@ try_window_id (window) /* Find position before which nothing is changed. */ bp = *compute_motion (start, 0, lmargin, - beg_unchanged + 1, 10000, 10000, width, hscroll, + beg_unchanged + 1, height + 1, 0, width, hscroll, pos_tab_offset (w, start)); if (bp.vpos >= height) { @@ -1046,6 +1046,9 @@ try_window_id (window) We don't need to change the screen at all. But we need to update window_end_pos to account for any change in buffer size. */ + bp = *compute_motion (start, 0, lmargin, + Z, height, 0, + width, hscroll, pos_tab_offset (w, start)); XFASTINT (w->window_end_vpos) = height; XFASTINT (w->window_end_pos) = Z - bp.bufpos; return 1; |
