diff options
| author | Matt Armstrong | 2022-10-15 20:04:12 -0700 |
|---|---|---|
| committer | Matt Armstrong | 2022-10-19 15:09:42 -0700 |
| commit | 1c44f6c83d88914cfee159ae021be33851e0112f (patch) | |
| tree | 716f66ebff581cf85e402e91c624000f41e9626b /src/buffer.c | |
| parent | 19f5431cf644517776e2945912dd5d5e8933b3dc (diff) | |
| download | emacs-1c44f6c83d88914cfee159ae021be33851e0112f.tar.gz emacs-1c44f6c83d88914cfee159ae021be33851e0112f.zip | |
; * src/buffer.c (set_overlay_region): remove unused function.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 9 |
1 files changed, 0 insertions, 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) | |||
| 3535 | modiff_incr (&BUF_OVERLAY_MODIFF (buf), 1); | 3535 | modiff_incr (&BUF_OVERLAY_MODIFF (buf), 1); |
| 3536 | } | 3536 | } |
| 3537 | 3537 | ||
| 3538 | INLINE void | ||
| 3539 | set_overlay_region (struct Lisp_Overlay *ov, ptrdiff_t begin, ptrdiff_t end) | ||
| 3540 | { | ||
| 3541 | eassert (ov->buffer); | ||
| 3542 | begin = clip_to_bounds (BEG, begin, ov->buffer->text->z); | ||
| 3543 | end = clip_to_bounds (begin, end, ov->buffer->text->z); | ||
| 3544 | interval_node_set_region (ov->buffer->overlays, ov->interval, begin, end); | ||
| 3545 | } | ||
| 3546 | |||
| 3547 | DEFUN ("move-overlay", Fmove_overlay, Smove_overlay, 3, 4, 0, | 3538 | DEFUN ("move-overlay", Fmove_overlay, Smove_overlay, 3, 4, 0, |
| 3548 | doc: /* Set the endpoints of OVERLAY to BEG and END in BUFFER. | 3539 | doc: /* Set the endpoints of OVERLAY to BEG and END in BUFFER. |
| 3549 | If BUFFER is omitted, leave OVERLAY in the same buffer it inhabits now. | 3540 | If BUFFER is omitted, leave OVERLAY in the same buffer it inhabits now. |