From: Kenichi Handa Date: Tue, 14 May 2002 11:47:35 +0000 (+0000) Subject: (decode_coding_object): Move point to coding->dst_pos before X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~883 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0cc7f7f490eb48a74caf75444dc8532e36ab2ca;p=emacs.git (decode_coding_object): Move point to coding->dst_pos before calling post-read-conversion function. --- diff --git a/src/coding.c b/src/coding.c index b29e40d801b..3aaf25e97ba 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5916,6 +5916,7 @@ decode_coding_object (coding, src_object, from, from_byte, to, to_byte, 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));