aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <[email protected]>2003-05-19 13:02:39 +0000
committerKenichi Handa <[email protected]>2003-05-19 13:02:39 +0000
commit439ad9ea83423eea619a27c54ad0fd9508c4d947 (patch)
tree36c48965d64e70f0ed549650fa9c036d9d0c88f6 /src/coding.c
parent1d211019ec9f36ed04f29e5b089470b581ba6b53 (diff)
(decode_coding_string): Handle post-read-conversion
even if the coding doesn't require decoding.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 9a6b611c0d..2867a0dc23 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -5986,7 +5986,9 @@ decode_coding_string (str, coding, nocopy)
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);