aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 7a6bddee5ec..507b15e8b4a 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -953,7 +953,7 @@ extern Lisp_Object Qfirst_change_hook;
953/* Get text properties of B. */ 953/* Get text properties of B. */
954 954
955BUFFER_INLINE INTERVAL 955BUFFER_INLINE INTERVAL
956buffer_get_intervals (struct buffer *b) 956buffer_intervals (struct buffer *b)
957{ 957{
958 eassert (b->text != NULL); 958 eassert (b->text != NULL);
959 return b->text->intervals; 959 return b->text->intervals;
@@ -962,26 +962,12 @@ buffer_get_intervals (struct buffer *b)
962/* Set text properties of B to I. */ 962/* Set text properties of B to I. */
963 963
964BUFFER_INLINE void 964BUFFER_INLINE void
965buffer_set_intervals (struct buffer *b, INTERVAL i) 965set_buffer_intervals (struct buffer *b, INTERVAL i)
966{ 966{
967 eassert (b->text != NULL); 967 eassert (b->text != NULL);
968 b->text->intervals = i; 968 b->text->intervals = i;
969} 969}
970 970
971/* Set an appropriate overlay of B. */
972
973BUFFER_INLINE void
974buffer_set_overlays_before (struct buffer *b, struct Lisp_Overlay *o)
975{
976 b->overlays_before = o;
977}
978
979BUFFER_INLINE void
980buffer_set_overlays_after (struct buffer *b, struct Lisp_Overlay *o)
981{
982 b->overlays_after = o;
983}
984
985/* Non-zero if current buffer has overlays. */ 971/* Non-zero if current buffer has overlays. */
986 972
987BUFFER_INLINE int 973BUFFER_INLINE int