aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 097283be671..447be06594c 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -1424,20 +1424,6 @@ maybe_alloc_buffer_overlays (struct buffer *b)
1424 b->overlays = interval_tree_create (); 1424 b->overlays = interval_tree_create ();
1425} 1425}
1426 1426
1427/* FIXME: Actually this does not free any overlay, but the tree
1428 only. --ap */
1429
1430INLINE void
1431free_buffer_overlays (struct buffer *b)
1432{
1433 eassert (! b->overlays || 0 == interval_tree_size (b->overlays));
1434 if (b->overlays)
1435 {
1436 interval_tree_destroy (b->overlays);
1437 b->overlays = NULL;
1438 }
1439}
1440
1441INLINE void 1427INLINE void
1442add_buffer_overlay (struct buffer *b, struct Lisp_Overlay *ov) 1428add_buffer_overlay (struct buffer *b, struct Lisp_Overlay *ov)
1443{ 1429{