From: Richard M. Stallman Date: Tue, 28 Jun 1994 09:25:42 +0000 (+0000) Subject: (Foverlay_put): Pass redisplay_region a struct buffer *. X-Git-Tag: emacs-19.34~7779 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=146f50a386504e2dca37e859992809f74cb595c4;p=emacs.git (Foverlay_put): Pass redisplay_region a struct buffer *. --- diff --git a/src/buffer.c b/src/buffer.c index 9561035e334..5b4cf3a6162 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2130,7 +2130,7 @@ DEFUN ("overlay-put", Foverlay_put, Soverlay_put, 3, 3, 0, { /* If actually changing the property, mark redisplay needed. */ if (! NILP (buffer) && !EQ (XCONS (XCONS (tail)->cdr)->car, value)) - redisplay_region (buffer, + redisplay_region (XBUFFER (buffer), marker_position (OVERLAY_START (overlay)), marker_position (OVERLAY_END (overlay))); @@ -2139,7 +2139,7 @@ DEFUN ("overlay-put", Foverlay_put, Soverlay_put, 3, 3, 0, /* Actually changing the property; mark redisplay needed. */ if (! NILP (buffer)) - redisplay_region (buffer, + redisplay_region (XBUFFER (buffer), marker_position (OVERLAY_START (overlay)), marker_position (OVERLAY_END (overlay)));