# HG changeset patch # User Stefan Monnier # Date 1058900772 0 # Node ID 95dd8ee86d654e1b6b948ac0914151f9d21d1bb8 # Parent 61f03c9c44c3c86c0247fb602d7162ca30a9ea77 (run_pre_post_conversion_on_str): Use delete_all_overlays. diff -r 61f03c9c44c3 -r 95dd8ee86d65 src/coding.c --- a/src/coding.c Tue Jul 22 19:05:18 2003 +0000 +++ b/src/coding.c Tue Jul 22 19:06:12 2003 +0000 @@ -5998,12 +5998,13 @@ 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