changeset 88506:a7f0d13affa5

(decode_coding_object): Move point to coding->dst_pos before calling post-read-conversion function.
author Kenichi Handa <handa@m17n.org>
date Tue, 14 May 2002 11:47:35 +0000
parents 0ade1e5f89e2
children e3a506b5f300
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Tue May 14 10:21:06 2002 +0000
+++ b/src/coding.c	Tue May 14 11:47:35 2002 +0000
@@ -5916,6 +5916,7 @@
       EMACS_INT prev_Z = Z, prev_Z_BYTE = Z_BYTE;
       Lisp_Object val;
 
+      TEMP_SET_PT_BOTH (coding->dst_pos, coding->dst_pos_byte);
       GCPRO2 (coding->src_object, coding->dst_object);
       val = call1 (CODING_ATTR_POST_READ (attrs),
 		   make_number (coding->produced_char));