aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorStefan Monnier2003-07-22 19:06:12 +0000
committerStefan Monnier2003-07-22 19:06:12 +0000
commit6ed0af6782b3a881aef5bff1faa5ddd302d27d92 (patch)
treeaa947049496087395f968952402994c952492a25 /src/coding.c
parentd2398db319f57c116c3c8a3abaa5ea1bbf2aa12f (diff)
downloademacs-6ed0af6782b3a881aef5bff1faa5ddd302d27d92.tar.gz
emacs-6ed0af6782b3a881aef5bff1faa5ddd302d27d92.zip
(run_pre_post_conversion_on_str): Use delete_all_overlays.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index ced7a24e1f4..b06bf79a4bf 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5998,12 +5998,13 @@ run_pre_post_conversion_on_str (str, coding, encodep)
5998 buffer = Fget_buffer_create (build_string (" *code-converting-work*")); 5998 buffer = Fget_buffer_create (build_string (" *code-converting-work*"));
5999 buf = XBUFFER (buffer); 5999 buf = XBUFFER (buffer);
6000 6000
6001 delete_all_overlays (buf);
6001 buf->directory = current_buffer->directory; 6002 buf->directory = current_buffer->directory;
6002 buf->read_only = Qnil; 6003 buf->read_only = Qnil;
6003 buf->filename = Qnil; 6004 buf->filename = Qnil;
6004 buf->undo_list = Qt; 6005 buf->undo_list = Qt;
6005 buf->overlays_before = NULL; 6006 eassert (buf->overlays_before == NULL);
6006 buf->overlays_after = NULL; 6007 eassert (buf->overlays_after == NULL);
6007 6008
6008 set_buffer_internal (buf); 6009 set_buffer_internal (buf);
6009 /* We must insert the contents of STR as is without 6010 /* We must insert the contents of STR as is without