Mercurial > emacs
changeset 4852:ef44bf38f456
(Fdelete_overlay, Foverlay_put): Use marker_position,
not OVERLAY_POSITION, to get args for redisplay_region.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 14 Oct 1993 04:29:17 +0000 |
parents | b70799eabd57 |
children | 3ec2205d12b5 |
files | src/buffer.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Thu Oct 14 00:11:42 1993 +0000 +++ b/src/buffer.c Thu Oct 14 04:29:17 1993 +0000 @@ -1682,8 +1682,8 @@ b->overlays_after = Fdelq (overlay, b->overlays_after); redisplay_region (b, - OVERLAY_POSITION (OVERLAY_START (overlay)), - OVERLAY_POSITION (OVERLAY_END (overlay))); + marker_position (OVERLAY_START (overlay)), + marker_position (OVERLAY_END (overlay))); Fset_marker (OVERLAY_START (overlay), Qnil, Qnil); Fset_marker (OVERLAY_END (overlay), Qnil, Qnil); @@ -1866,8 +1866,8 @@ CHECK_OVERLAY (overlay, 0); redisplay_region (XMARKER (OVERLAY_START (overlay))->buffer, - OVERLAY_POSITION (OVERLAY_START (overlay)), - OVERLAY_POSITION (OVERLAY_END (overlay))); + marker_position (OVERLAY_START (overlay)), + marker_position (OVERLAY_END (overlay))); plist = Fcdr_safe (XCONS (overlay)->cdr);