mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-20 20:50:53 -08:00
(run_pre_post_conversion_on_str): Use delete_all_overlays.
This commit is contained in:
parent
d2398db319
commit
6ed0af6782
1 changed files with 3 additions and 2 deletions
|
|
@ -5998,12 +5998,13 @@ run_pre_post_conversion_on_str (str, coding, encodep)
|
|||
buffer = Fget_buffer_create (build_string (" *code-converting-work*"));
|
||||
buf = XBUFFER (buffer);
|
||||
|
||||
delete_all_overlays (buf);
|
||||
buf->directory = current_buffer->directory;
|
||||
buf->read_only = Qnil;
|
||||
buf->filename = Qnil;
|
||||
buf->undo_list = Qt;
|
||||
buf->overlays_before = NULL;
|
||||
buf->overlays_after = NULL;
|
||||
eassert (buf->overlays_before == NULL);
|
||||
eassert (buf->overlays_after == NULL);
|
||||
|
||||
set_buffer_internal (buf);
|
||||
/* We must insert the contents of STR as is without
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue