diff options
| author | Karl Heuer | 1998-04-12 18:08:02 +0000 |
|---|---|---|
| committer | Karl Heuer | 1998-04-12 18:08:02 +0000 |
| commit | c5c6d57c7cd3ba5b008c5b51a950a998510dab61 (patch) | |
| tree | a94e053a17d2700f08290e5e4b6c0753a93a16c5 /src | |
| parent | de219b909dbadc053c21225612b059530d8269c9 (diff) | |
| download | emacs-c5c6d57c7cd3ba5b008c5b51a950a998510dab61.tar.gz emacs-c5c6d57c7cd3ba5b008c5b51a950a998510dab61.zip | |
(temp_output_buffer_setup): Clear out overlays,
visited file, undo list, etc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/print.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 30e9ff74af1..dc6272d2f82 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -634,6 +634,12 @@ temp_output_buffer_setup (bufname) | |||
| 634 | 634 | ||
| 635 | current_buffer->directory = old->directory; | 635 | current_buffer->directory = old->directory; |
| 636 | current_buffer->read_only = Qnil; | 636 | current_buffer->read_only = Qnil; |
| 637 | current_buffer->filename = Qnil; | ||
| 638 | current_buffer->undo_list = Qt; | ||
| 639 | current_buffer->overlays_before = Qnil; | ||
| 640 | current_buffer->overlays_after = Qnil; | ||
| 641 | current_buffer->enable_multibyte_characters | ||
| 642 | = buffer_defaults.enable_multibyte_characters; | ||
| 637 | Ferase_buffer (); | 643 | Ferase_buffer (); |
| 638 | 644 | ||
| 639 | XSETBUFFER (buf, current_buffer); | 645 | XSETBUFFER (buf, current_buffer); |