diff src/coding.c @ 51090:269d016f45bd

(decode_coding_string): Handle post-read-conversion even if the coding doesn't require decoding.
author Kenichi Handa <handa@m17n.org>
date Mon, 19 May 2003 13:02:39 +0000
parents 0aba658cfdd2
children 94d903190cee
line wrap: on
line diff
--- a/src/coding.c	Mon May 19 13:02:16 2003 +0000
+++ b/src/coding.c	Mon May 19 13:02:39 2003 +0000
@@ -5986,7 +5986,9 @@
       shrinked_bytes = from + (SBYTES (str) - to_byte);
     }
 
-  if (!require_decoding)
+  if (!require_decoding
+      && !(SYMBOLP (coding->post_read_conversion)
+	   && !NILP (Ffboundp (coding->post_read_conversion))))
     {
       coding->consumed = SBYTES (str);
       coding->consumed_char = SCHARS (str);