Fix subtle problems with linum-mode and invisible text
commit4e5eb85425214d62cd3962914565b281b74504ce
authorEli Zaretskii <eliz@gnu.org>
Sun, 15 Mar 2015 17:17:46 +0000 (15 19:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 15 Mar 2015 17:17:46 +0000 (15 19:17 +0200)
tree542dc87552c84a87eea0b97cbd560bacd81f3280
parent28caedba0f5c387d9c8e8fc8de26b5399afeb68b
Fix subtle problems with linum-mode and invisible text

 src/xdisp.c (handle_invisible_prop): Fix up it->position even when
 we are going to load overlays at the beginning of the invisible
 text.
 (setup_for_ellipsis): Reset the ignore_overlay_strings_at_pos_p
 flag also here.
 (next_overlay_string): Set the overlay_strings_at_end_processed_p
 flag only if the overlays just processed were actually loaded at
 EOB.
src/ChangeLog
src/xdisp.c