]> git.eshelyaron.com Git - emacs.git/commit
Fix crash with invisible text and overlays (Bug#7016).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 6 Dec 2010 06:54:52 +0000 (01:54 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 6 Dec 2010 06:54:52 +0000 (01:54 -0500)
commitd8b2a96214c9b53ab914901fdde71f5b0a931678
treeb460510f4b2cc856332affb7c7ae2796d04acdb4
parent0afb6242c77237cd2cc1f0e623b08e20488c5b74
Fix crash with invisible text and overlays (Bug#7016).

* src/dispextern.h (struct it): New member overlay_strings_charpos.

* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).
lisp/mail/rmail.el
src/ChangeLog
src/dispextern.h
src/xdisp.c