From: Matt Armstrong Date: Sun, 16 Oct 2022 03:04:12 +0000 (-0700) Subject: ; * src/buffer.c (set_overlay_region): remove unused function. X-Git-Tag: emacs-29.0.90~1616^2~406^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c44f6c83d88914cfee159ae021be33851e0112f;p=emacs.git ; * src/buffer.c (set_overlay_region): remove unused function. --- 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.