From db3a49a62e4dcc4e2113539f743b5108d3c1a13b Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 31 May 2001 01:44:47 +0000 Subject: [PATCH] (copy_overlays): Make ENABLE_CHECKING happy. --- src/ChangeLog | 8 ++++++-- src/buffer.c | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 86932ba4e9f..a315cb37e47 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-05-30 Stefan Monnier + + * buffer.c (copy_overlays): Make ENABLE_CHECKING happy. + 2001-05-30 Gerd Moellmann * xfns.c (enum image_value_type): New enumerator @@ -24,7 +28,7 @@ 2001-05-28 Gerd Moellmann - * xmenu.c (xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite + * xmenu.c (xmenu_show) [!HAVE_MULTILINGUAL_MENU]: Don't overwrite an item's name with its key description in case the description is a multibyte string. @@ -56,7 +60,7 @@ * xfns.c (x_set_foreground_color): Change frame's cursor_pixel only if it's equal to the former foreground pixel color. - (x_set_foreground_color, x_set_background_color) + (x_set_foreground_color, x_set_background_color) (x_set_mouse_color, x_set_cursor_color): Cleaned up. 2001-05-16 Dave Love diff --git a/src/buffer.c b/src/buffer.c index bc41f2e3179..33d0ea55843 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -436,13 +436,13 @@ copy_overlays (b, list) old_overlay = XCAR (list); charpos = marker_position (OVERLAY_START (old_overlay)); start = Fmake_marker (); - Fset_marker (start, charpos, buffer); + Fset_marker (start, make_number (charpos), buffer); XMARKER (start)->insertion_type = XMARKER (OVERLAY_START (old_overlay))->insertion_type; charpos = marker_position (OVERLAY_END (old_overlay)); end = Fmake_marker (); - Fset_marker (end, charpos, buffer); + Fset_marker (end, make_number (charpos), buffer); XMARKER (end)->insertion_type = XMARKER (OVERLAY_END (old_overlay))->insertion_type; -- 2.39.2