aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 9d1ebc8a4cb..1887560827c 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -8301,7 +8301,11 @@ encode_coding_object (struct coding_system *coding,
8301 } 8301 }
8302 } 8302 }
8303 else 8303 else
8304 code_conversion_save (0, 0); 8304 {
8305 code_conversion_save (0, 0);
8306 coding->src_pos = from;
8307 coding->src_pos_byte = from_byte;
8308 }
8305 8309
8306 if (BUFFERP (dst_object)) 8310 if (BUFFERP (dst_object))
8307 { 8311 {