Mercurial > emacs
diff src/buffer.c @ 69144:5c9e3eb42568
(modify_overlay): Force redisplay if we modify an
overlay at the end of the buffer.
| author | Kim F. Storm <storm@cua.dk> |
|---|---|
| date | Fri, 24 Feb 2006 23:31:26 +0000 |
| parents | 7e64cebb0463 |
| children | 1f7111323584 |
line wrap: on
line diff
--- a/src/buffer.c Fri Feb 24 23:31:06 2006 +0000 +++ b/src/buffer.c Fri Feb 24 23:31:26 2006 +0000 @@ -3649,6 +3649,10 @@ /* If multiple windows show this buffer, we must do other windows. */ else if (buffer_shared > 1) windows_or_buffers_changed = 1; + /* If we modify an overlay at the end of the buffer, we cannot + be sure that window end is still valid. */ + else if (end >= ZV && start <= ZV) + windows_or_buffers_changed = 1; ++BUF_OVERLAY_MODIFF (buf); }
