diff options
| author | Joseph Arceneaux | 1992-10-01 01:22:22 +0000 |
|---|---|---|
| committer | Joseph Arceneaux | 1992-10-01 01:22:22 +0000 |
| commit | 33f7013e5239fa4a93269c58315a234de2ab051e (patch) | |
| tree | cdb663097e37709d93bc6e0927abc36417798d6f /src | |
| parent | e221eae302bba578376130f0e851162cb7ffca0c (diff) | |
| download | emacs-33f7013e5239fa4a93269c58315a234de2ab051e.tar.gz emacs-33f7013e5239fa4a93269c58315a234de2ab051e.zip | |
* buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
interval component.
(Fkill_buffer): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buffer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index db498bbf29b..96327b331ee 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -271,6 +271,10 @@ reset_buffer (b) | |||
| 271 | b->auto_save_file_name = Qnil; | 271 | b->auto_save_file_name = Qnil; |
| 272 | b->read_only = Qnil; | 272 | b->read_only = Qnil; |
| 273 | b->fieldlist = Qnil; | 273 | b->fieldlist = Qnil; |
| 274 | |||
| 275 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ | ||
| 276 | INITIALIZE_INTERVAL (b, NULL_INTERVAL); | ||
| 277 | |||
| 274 | reset_buffer_local_variables(b); | 278 | reset_buffer_local_variables(b); |
| 275 | } | 279 | } |
| 276 | 280 | ||
| @@ -729,6 +733,10 @@ with `delete-process'.") | |||
| 729 | } | 733 | } |
| 730 | b->markers = Qnil; | 734 | b->markers = Qnil; |
| 731 | 735 | ||
| 736 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ | ||
| 737 | INITIALIZE_INTERVAL (b, NULL_INTERVAL); | ||
| 738 | /* Perhaps we should explicitly free the interval tree here... */ | ||
| 739 | |||
| 732 | b->name = Qnil; | 740 | b->name = Qnil; |
| 733 | BUFFER_FREE (BUF_BEG_ADDR (b)); | 741 | BUFFER_FREE (BUF_BEG_ADDR (b)); |
| 734 | b->undo_list = Qnil; | 742 | b->undo_list = Qnil; |