Mercurial > emacs
comparison src/coding.c @ 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 | d2b9e0d4c2f6 |
children | d266b8fb8761 |
comparison
equal
deleted
inserted
replaced
88505:0ade1e5f89e2 | 88506:a7f0d13affa5 |
---|---|
5914 { | 5914 { |
5915 struct gcpro gcpro1, gcpro2; | 5915 struct gcpro gcpro1, gcpro2; |
5916 EMACS_INT prev_Z = Z, prev_Z_BYTE = Z_BYTE; | 5916 EMACS_INT prev_Z = Z, prev_Z_BYTE = Z_BYTE; |
5917 Lisp_Object val; | 5917 Lisp_Object val; |
5918 | 5918 |
5919 TEMP_SET_PT_BOTH (coding->dst_pos, coding->dst_pos_byte); | |
5919 GCPRO2 (coding->src_object, coding->dst_object); | 5920 GCPRO2 (coding->src_object, coding->dst_object); |
5920 val = call1 (CODING_ATTR_POST_READ (attrs), | 5921 val = call1 (CODING_ATTR_POST_READ (attrs), |
5921 make_number (coding->produced_char)); | 5922 make_number (coding->produced_char)); |
5922 UNGCPRO; | 5923 UNGCPRO; |
5923 CHECK_NATNUM (val); | 5924 CHECK_NATNUM (val); |