mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00:00
(temp_output_buffer_setup): Clear out overlays,
visited file, undo list, etc.
This commit is contained in:
parent
de219b909d
commit
c5c6d57c7c
@ -634,6 +634,12 @@ temp_output_buffer_setup (bufname)
|
|||||||
|
|
||||||
current_buffer->directory = old->directory;
|
current_buffer->directory = old->directory;
|
||||||
current_buffer->read_only = Qnil;
|
current_buffer->read_only = Qnil;
|
||||||
|
current_buffer->filename = Qnil;
|
||||||
|
current_buffer->undo_list = Qt;
|
||||||
|
current_buffer->overlays_before = Qnil;
|
||||||
|
current_buffer->overlays_after = Qnil;
|
||||||
|
current_buffer->enable_multibyte_characters
|
||||||
|
= buffer_defaults.enable_multibyte_characters;
|
||||||
Ferase_buffer ();
|
Ferase_buffer ();
|
||||||
|
|
||||||
XSETBUFFER (buf, current_buffer);
|
XSETBUFFER (buf, current_buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user