mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
(Foverlay_put): Pass redisplay_region a struct buffer *.
This commit is contained in:
parent
fa562dd5e1
commit
146f50a386
1 changed files with 2 additions and 2 deletions
|
|
@ -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)));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue