aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-28 09:25:42 +0000
committerRichard M. Stallman1994-06-28 09:25:42 +0000
commit146f50a386504e2dca37e859992809f74cb595c4 (patch)
treec3a8177e4afdb21a5b3e06c51945a2f5be4d05ce /src/buffer.c
parentfa562dd5e14ed55d584bffe2c99a92acb122ada4 (diff)
downloademacs-146f50a386504e2dca37e859992809f74cb595c4.tar.gz
emacs-146f50a386504e2dca37e859992809f74cb595c4.zip
(Foverlay_put): Pass redisplay_region a struct buffer *.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c4
1 files changed, 2 insertions, 2 deletions
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,
2130 { 2130 {
2131 /* If actually changing the property, mark redisplay needed. */ 2131 /* If actually changing the property, mark redisplay needed. */
2132 if (! NILP (buffer) && !EQ (XCONS (XCONS (tail)->cdr)->car, value)) 2132 if (! NILP (buffer) && !EQ (XCONS (XCONS (tail)->cdr)->car, value))
2133 redisplay_region (buffer, 2133 redisplay_region (XBUFFER (buffer),
2134 marker_position (OVERLAY_START (overlay)), 2134 marker_position (OVERLAY_START (overlay)),
2135 marker_position (OVERLAY_END (overlay))); 2135 marker_position (OVERLAY_END (overlay)));
2136 2136
@@ -2139,7 +2139,7 @@ DEFUN ("overlay-put", Foverlay_put, Soverlay_put, 3, 3, 0,
2139 2139
2140 /* Actually changing the property; mark redisplay needed. */ 2140 /* Actually changing the property; mark redisplay needed. */
2141 if (! NILP (buffer)) 2141 if (! NILP (buffer))
2142 redisplay_region (buffer, 2142 redisplay_region (XBUFFER (buffer),
2143 marker_position (OVERLAY_START (overlay)), 2143 marker_position (OVERLAY_START (overlay)),
2144 marker_position (OVERLAY_END (overlay))); 2144 marker_position (OVERLAY_END (overlay)));
2145 2145