comparison src/xdisp.c @ 19478:b2544c0eada8

(redisplay_window): Don't try using last_point_x if point is in the left margin of an hscroll'ed window.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Aug 1997 01:03:37 +0000
parents 83132785cf7f
children 318a3a6a8ff5
comparison
equal deleted inserted replaced
19477:a9629283bc4c 19478:b2544c0eada8
1852 pos.hpos = last_point_x; 1852 pos.hpos = last_point_x;
1853 pos.vpos = last_point_y; 1853 pos.vpos = last_point_y;
1854 pos.bufpos = PT; 1854 pos.bufpos = PT;
1855 } 1855 }
1856 else if (PT > XFASTINT (w->last_point) 1856 else if (PT > XFASTINT (w->last_point)
1857 && XFASTINT (w->last_point) > startp && just_this_one) 1857 && XFASTINT (w->last_point) > startp && just_this_one
1858 /* We can't use this if point is in the left margin of a
1859 hscrolled window, because w->last_point_x has been
1860 clipped to the window edges. */
1861 && !(last_point_x <= 0 && hscroll))
1858 { 1862 {
1859 pos = *compute_motion (XFASTINT (w->last_point), 1863 pos = *compute_motion (XFASTINT (w->last_point),
1860 last_point_y, last_point_x, 0, 1864 last_point_y, last_point_x, 0,
1861 PT, height, 1865 PT, height,
1862 /* BUG FIX: See the comment of 1866 /* BUG FIX: See the comment of