Fix infloop in redisplay_window due to fix of bug#14582
authorEli Zaretskii <eliz@gnu.org>
Fri, 4 Feb 2022 13:50:50 +0000 (15:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 4 Feb 2022 13:50:50 +0000 (15:50 +0200)
commit9a8796f067d1f9d5d0c2c1285dc86b2f577f4f27
tree0c1eb9d82581c1b12149101e70d359194c38b618
parent38ffb828f26d630cf7e10b7e8554aea98e299f1b
Fix infloop in redisplay_window due to fix of bug#14582

* src/xdisp.c (window_start_acceptable_p): New function.
(redisplay_window): Call 'window_start_acceptable_p' to determine
whether a given window-start point is acceptable, including when
the window's force_start flag is set -- this fixes infloop in
redisplay_window in that case.
src/xdisp.c