Mercurial > emacs
comparison lisp/composite.el @ 111912:d566763f152d
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).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 06 Dec 2010 01:54:52 -0500 |
parents | e0f89e89ed02 |
children | b8fde5ef9e14 376148b31b5e |
comparison
equal
deleted
inserted
replaced
111911:00650384dc02 | 111912:d566763f152d |
---|