diff options
author | Kenichi Handa <handa@gnu.org> | 2014-01-29 22:21:25 +0900 |
---|---|---|
committer | Kenichi Handa <handa@gnu.org> | 2014-01-29 22:21:25 +0900 |
commit | 52840a9cc870d3e8946b6edebe2b0a0a23d23cec (patch) | |
tree | 29612750f2c3c31f51a7e81bcddb5fc2589143f7 /src/coding.h | |
parent | 4988180d710ad2ed9c0d9211dca9d9ef23c46716 (diff) | |
download | emacs-52840a9cc870d3e8946b6edebe2b0a0a23d23cec.tar.gz |
Fix bug#16286 by the different way than 2014-01-26T00:32:30Z!eggert@cs.ucla.edu to preserve the code detection behavior of 24.3.
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h index c9c19762d80..4e8b1056e43 100644 --- a/src/coding.h +++ b/src/coding.h @@ -468,7 +468,9 @@ struct coding_system the eol format. */ ptrdiff_t head_ascii; - ptrdiff_t detected_utf8_chars; + /* How many bytes/chars at the source are detected as valid utf-8 + sequence. Set by detect_coding_utf_8. */ + ptrdiff_t detected_utf8_bytes, detected_utf8_chars; /* Used internally in coding.c. See the comment of detect_ascii. */ int eol_seen; |