Commit 33f7013e authored by Joseph Arceneaux's avatar Joseph Arceneaux
Browse files

* buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's

	interval component.
	(Fkill_buffer): Likewise.
parent e221eae3
...@@ -271,6 +271,10 @@ reset_buffer (b) ...@@ -271,6 +271,10 @@ reset_buffer (b)
b->auto_save_file_name = Qnil; b->auto_save_file_name = Qnil;
b->read_only = Qnil; b->read_only = Qnil;
b->fieldlist = Qnil; b->fieldlist = Qnil;
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
INITIALIZE_INTERVAL (b, NULL_INTERVAL);
reset_buffer_local_variables(b); reset_buffer_local_variables(b);
} }
...@@ -729,6 +733,10 @@ with `delete-process'.") ...@@ -729,6 +733,10 @@ with `delete-process'.")
} }
b->markers = Qnil; b->markers = Qnil;
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
INITIALIZE_INTERVAL (b, NULL_INTERVAL);
/* Perhaps we should explicitly free the interval tree here... */
b->name = Qnil; b->name = Qnil;
BUFFER_FREE (BUF_BEG_ADDR (b)); BUFFER_FREE (BUF_BEG_ADDR (b));
b->undo_list = Qnil; b->undo_list = Qnil;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment