Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
29ea8ae9
Commit
29ea8ae9
authored
Jul 22, 2003
by
Stefan Monnier
Browse files
(Finsert_file_contents): Use delete_all_overlays.
parent
fd531951
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
src/ChangeLog
src/ChangeLog
+12
-1
src/fileio.c
src/fileio.c
+3
-2
No files found.
src/ChangeLog
View file @
29ea8ae9
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): Rename
d
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.
...
...
src/fileio.c
View file @
29ea8ae9
...
...
@@ -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 ();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment