From: Kenichi Handa Date: Wed, 20 Jan 2010 02:33:52 +0000 (+0900) Subject: Fix ccl encoding of unibyte source. X-Git-Tag: emacs-pretest-23.1.92~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4d1e6632e7195a82088408817a6b3db7e520d370;p=emacs.git Fix ccl encoding of unibyte source. --- 4d1e6632e7195a82088408817a6b3db7e520d370 diff --cc src/ChangeLog index e1d2ba440ab,57a05ee26a8..bdbdd0b0da9 --- a/src/ChangeLog +++ b/src/ChangeLog @@@ -1,3 -1,20 +1,25 @@@ ++2010-01-20 Kenichi Handa ++ ++ * coding.c (consume_chars): If ! multibyte and the encoder is ccl, ++ treat the source as actual byte sequence. ++ + 2010-01-19 Alan Mackenzie + + Fix spurious before-change-functions invocation from (insert ?\n). + * textprop.c (set_text_properties): rename parameter + `signal_after_change_p' to `coherent_change_p', and make the + invocation of `modify_region' conditional on it. + + 2010-01-19 Jan Djärv + + * xsettings.c (apply_xft_settings): Save settings in Vxft_settings + for debug purpose. + (syms_of_xsettings): Declare xft-settings. + + 2010-01-18 Chong Yidong + + * editfns.c (Fcurrent_time_string): Doc fix (Bug#5408). + 2010-01-16 Stefan Monnier * xterm.c (event_handler_gdk): Block input (Bug#5037). diff --cc src/coding.c index b3a51eb0c4c,b3a51eb0c4c..935d32e6a58 --- a/src/coding.c +++ b/src/coding.c @@@ -7417,7 -7417,7 +7417,8 @@@ consume_chars (coding, translation_tabl { EMACS_INT bytes; -- if (coding->encoder == encode_coding_raw_text) ++ if (coding->encoder == encode_coding_raw_text ++ || coding->encoder == encode_coding_ccl) c = *src++, pos++; else if ((bytes = MULTIBYTE_LENGTH (src, src_end)) > 0) c = STRING_CHAR_ADVANCE_NO_UNIFY (src), pos += bytes;