diff options
author | Kenichi Handa <[email protected]> | 2003-05-19 13:02:39 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2003-05-19 13:02:39 +0000 |
commit | 439ad9ea83423eea619a27c54ad0fd9508c4d947 (patch) | |
tree | 36c48965d64e70f0ed549650fa9c036d9d0c88f6 /src/coding.c | |
parent | 1d211019ec9f36ed04f29e5b089470b581ba6b53 (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.c | 4 |
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); |