Commit 29ea8ae9 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(Finsert_file_contents): Use delete_all_overlays.

parent fd531951
2003-07-22 Stefan Monnier <monnier@cs.yale.edu>
* xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it.
* buffer.c (delete_all_overlays): New function.
* buffer.h (delete_all_overlays): Declare.
* coding.c (run_pre_post_conversion_on_str):
* print.c (temp_output_buffer_setup):
* fileio.c (Finsert_file_contents):
* minibuf.c (get_minibuffer): Use it.
2003-07-22 Andrew Choi <akochoi@shaw.ca>
* unexmacosx.c (unexec_regions_sort_compare):
......@@ -18,7 +29,7 @@
* s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef.
* fns.c (Flocale_info): Renamed from Flanginfo. Doc fixes.
* fns.c (Flocale_info): Rename from Flanginfo. Doc fixes.
(syms_of_fns): Corresponding change.
* alloc.c (syms_of_alloc): Doc fixes.
......
......@@ -3840,12 +3840,13 @@ actually used. */)
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);
Ferase_buffer ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment