From 1c44f6c83d88914cfee159ae021be33851e0112f Mon Sep 17 00:00:00 2001 From: Matt Armstrong Date: Sat, 15 Oct 2022 20:04:12 -0700 Subject: [PATCH] ; * src/buffer.c (set_overlay_region): remove unused function. --- src/buffer.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/buffer.c b/src/buffer.c index e1303f2a880..74c6705cbd3 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -3535,15 +3535,6 @@ modify_overlay (struct buffer *buf, ptrdiff_t start, ptrdiff_t end) modiff_incr (&BUF_OVERLAY_MODIFF (buf), 1); } -INLINE void -set_overlay_region (struct Lisp_Overlay *ov, ptrdiff_t begin, ptrdiff_t end) -{ - eassert (ov->buffer); - begin = clip_to_bounds (BEG, begin, ov->buffer->text->z); - end = clip_to_bounds (begin, end, ov->buffer->text->z); - interval_node_set_region (ov->buffer->overlays, ov->interval, begin, end); -} - DEFUN ("move-overlay", Fmove_overlay, Smove_overlay, 3, 4, 0, doc: /* Set the endpoints of OVERLAY to BEG and END in BUFFER. If BUFFER is omitted, leave OVERLAY in the same buffer it inhabits now. -- 2.39.2