# HG changeset patch # User Joseph Arceneaux # Date 717902542 0 # Node ID 7c32612174c35712f6b558b8342b70d5b19a9dc6 # Parent 9b0ddca4773b301a952702a1bc28b283e0a5c675 * buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's interval component. (Fkill_buffer): Likewise. diff -r 9b0ddca4773b -r 7c32612174c3 src/buffer.c --- a/src/buffer.c Thu Oct 01 01:00:41 1992 +0000 +++ b/src/buffer.c Thu Oct 01 01:22:22 1992 +0000 @@ -271,6 +271,10 @@ b->auto_save_file_name = Qnil; b->read_only = Qnil; b->fieldlist = Qnil; + + /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ + INITIALIZE_INTERVAL (b, NULL_INTERVAL); + reset_buffer_local_variables(b); } @@ -729,6 +733,10 @@ } 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; BUFFER_FREE (BUF_BEG_ADDR (b)); b->undo_list = Qnil;