aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 395ca48680f..fab7330b195 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -360,7 +360,7 @@ even if it is dead. The return value is never nil. */)
360 BUF_CHARS_MODIFF (b) = 1; 360 BUF_CHARS_MODIFF (b) = 1;
361 BUF_OVERLAY_MODIFF (b) = 1; 361 BUF_OVERLAY_MODIFF (b) = 1;
362 BUF_SAVE_MODIFF (b) = 1; 362 BUF_SAVE_MODIFF (b) = 1;
363 BUF_INTERVALS (b) = NULL; 363 buffer_set_intervals (b, NULL);
364 BUF_UNCHANGED_MODIFIED (b) = 1; 364 BUF_UNCHANGED_MODIFIED (b) = 1;
365 BUF_OVERLAY_UNCHANGED_MODIFIED (b) = 1; 365 BUF_OVERLAY_UNCHANGED_MODIFIED (b) = 1;
366 BUF_END_UNCHANGED (b) = 0; 366 BUF_END_UNCHANGED (b) = 0;
@@ -1688,7 +1688,7 @@ cleaning up all windows currently displaying the buffer to be killed. */)
1688 m = next; 1688 m = next;
1689 } 1689 }
1690 BUF_MARKERS (b) = NULL; 1690 BUF_MARKERS (b) = NULL;
1691 BUF_INTERVALS (b) = NULL; 1691 buffer_set_intervals (b, NULL);
1692 1692
1693 /* Perhaps we should explicitly free the interval tree here... */ 1693 /* Perhaps we should explicitly free the interval tree here... */
1694 } 1694 }
@@ -4904,8 +4904,8 @@ init_buffer_once (void)
4904 /* No one will share the text with these buffers, but let's play it safe. */ 4904 /* No one will share the text with these buffers, but let's play it safe. */
4905 buffer_defaults.indirections = 0; 4905 buffer_defaults.indirections = 0;
4906 buffer_local_symbols.indirections = 0; 4906 buffer_local_symbols.indirections = 0;
4907 BUF_INTERVALS (&buffer_defaults) = NULL; 4907 buffer_set_intervals (&buffer_defaults, NULL);
4908 BUF_INTERVALS (&buffer_local_symbols) = NULL; 4908 buffer_set_intervals (&buffer_local_symbols, NULL);
4909 XSETPVECTYPESIZE (&buffer_defaults, PVEC_BUFFER, pvecsize); 4909 XSETPVECTYPESIZE (&buffer_defaults, PVEC_BUFFER, pvecsize);
4910 XSETBUFFER (Vbuffer_defaults, &buffer_defaults); 4910 XSETBUFFER (Vbuffer_defaults, &buffer_defaults);
4911 XSETPVECTYPESIZE (&buffer_local_symbols, PVEC_BUFFER, pvecsize); 4911 XSETPVECTYPESIZE (&buffer_local_symbols, PVEC_BUFFER, pvecsize);