diff options
| author | Kenichi Handa | 2003-05-19 13:02:39 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-05-19 13:02:39 +0000 |
| commit | 439ad9ea83423eea619a27c54ad0fd9508c4d947 (patch) | |
| tree | 36c48965d64e70f0ed549650fa9c036d9d0c88f6 /src/coding.c | |
| parent | 1d211019ec9f36ed04f29e5b089470b581ba6b53 (diff) | |
| download | emacs-439ad9ea83423eea619a27c54ad0fd9508c4d947.tar.gz emacs-439ad9ea83423eea619a27c54ad0fd9508c4d947.zip | |
(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 9a6b611c0dc..2867a0dc233 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -5986,7 +5986,9 @@ decode_coding_string (str, coding, nocopy) | |||
| 5986 | shrinked_bytes = from + (SBYTES (str) - to_byte); | 5986 | shrinked_bytes = from + (SBYTES (str) - to_byte); |
| 5987 | } | 5987 | } |
| 5988 | 5988 | ||
| 5989 | if (!require_decoding) | 5989 | if (!require_decoding |
| 5990 | && !(SYMBOLP (coding->post_read_conversion) | ||
| 5991 | && !NILP (Ffboundp (coding->post_read_conversion)))) | ||
| 5990 | { | 5992 | { |
| 5991 | coding->consumed = SBYTES (str); | 5993 | coding->consumed = SBYTES (str); |
| 5992 | coding->consumed_char = SCHARS (str); | 5994 | coding->consumed_char = SCHARS (str); |