Avoid infinite hscrolling in redisplay
commit241ae7a151c0cc8c09ab82d096a8b68eae16133a
authorNoam Postavsky <npostavs@gmail.com>
Sat, 22 Oct 2016 19:55:21 +0000 (22 15:55 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 22 Oct 2016 20:29:52 +0000 (22 16:29 -0400)
treee839bc14e6784edbbeae2b600b7eaf85decc7db6
parentabd1642e1e4615c0bf7abc5014ebbd760f037883
Avoid infinite hscrolling in redisplay

* src/xdisp.c (redisplay_internal): Add a counter to avoid horizontal
scrolling (e.g., caused by pre-redisplay-functions) triggering infinite
redisplay (Bug #24633).
src/xdisp.c