3186 |
*charbuf++ = *src_base; |
*charbuf++ = *src_base; |
3187 |
else |
else |
3188 |
*charbuf++ = BYTE8_TO_CHAR (*src_base); |
*charbuf++ = BYTE8_TO_CHAR (*src_base); |
|
char_offset++; |
|
3189 |
} |
} |
3190 |
} |
} |
3191 |
else if (composition_state == COMPOSING_NO) |
else if (composition_state == COMPOSING_NO) |
4984 |
Lisp_Object spec, attrs; |
Lisp_Object spec, attrs; |
4985 |
Lisp_Object eol_type, raw_text_eol_type; |
Lisp_Object eol_type, raw_text_eol_type; |
4986 |
|
|
4987 |
|
if (NILP (coding_system)) |
4988 |
|
return Qraw_text; |
4989 |
spec = CODING_SYSTEM_SPEC (coding_system); |
spec = CODING_SYSTEM_SPEC (coding_system); |
4990 |
attrs = AREF (spec, 0); |
attrs = AREF (spec, 0); |
4991 |
|
|
5013 |
{ |
{ |
5014 |
Lisp_Object spec, attrs, eol_type; |
Lisp_Object spec, attrs, eol_type; |
5015 |
|
|
5016 |
|
if (NILP (coding_system)) |
5017 |
|
coding_system = Qraw_text; |
5018 |
spec = CODING_SYSTEM_SPEC (coding_system); |
spec = CODING_SYSTEM_SPEC (coding_system); |
5019 |
attrs = AREF (spec, 0); |
attrs = AREF (spec, 0); |
5020 |
eol_type = AREF (spec, 2); |
eol_type = AREF (spec, 2); |
5021 |
if (VECTORP (eol_type)) |
if (VECTORP (eol_type) |
5022 |
|
&& ! NILP (parent)) |
5023 |
{ |
{ |
5024 |
Lisp_Object parent_spec; |
Lisp_Object parent_spec; |
5025 |
Lisp_Object parent_eol_type; |
Lisp_Object parent_eol_type; |
5501 |
produced_chars++; |
produced_chars++; |
5502 |
} |
} |
5503 |
else |
else |
5504 |
/* This is an annotation datum. */ |
/* This is an annotation datum. (-C) is the length of |
5505 |
buf -= c + 1; |
it. */ |
5506 |
|
buf += -c - 1; |
5507 |
} |
} |
5508 |
} |
} |
5509 |
else |
else |
6048 |
|
|
6049 |
if (! multibytep) |
if (! multibytep) |
6050 |
{ |
{ |
6051 |
EMACS_INT bytes = MULTIBYTE_LENGTH (src, src_end); |
EMACS_INT bytes; |
6052 |
|
|
6053 |
if (bytes > 0) |
if (! CODING_FOR_UNIBYTE (coding) |
6054 |
|
&& (bytes = MULTIBYTE_LENGTH (src, src_end)) > 0) |
6055 |
c = STRING_CHAR_ADVANCE (src), pos += bytes; |
c = STRING_CHAR_ADVANCE (src), pos += bytes; |
6056 |
else |
else |
6057 |
c = *src++, pos++; |
c = *src++, pos++; |