816 |
int src_len; |
int src_len; |
817 |
struct coding_system *coding; |
struct coding_system *coding; |
818 |
{ |
{ |
819 |
struct glyph *src_start = src, *src_end = src + src_len; |
struct glyph *src_end = src + src_len; |
820 |
register GLYPH g; |
register GLYPH g; |
821 |
unsigned char *buf; |
unsigned char *buf; |
822 |
int nchars, nbytes, required; |
int nchars, nbytes, required; |
901 |
if (SYMBOLP (coding->pre_write_conversion) |
if (SYMBOLP (coding->pre_write_conversion) |
902 |
&& ! NILP (Ffboundp (coding->pre_write_conversion))) |
&& ! NILP (Ffboundp (coding->pre_write_conversion))) |
903 |
{ |
{ |
904 |
run_pre_write_conversin_on_c_str (&encode_terminal_buf, |
run_pre_write_conversin_on_c_str (&encode_terminal_buf, |
905 |
&encode_terminal_bufsize, |
&encode_terminal_bufsize, |
906 |
nchars, nbytes, coding); |
nchars, nbytes, coding); |
907 |
nchars = coding->produced_char; |
nchars = coding->produced_char; |
1818 |
&& calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) |
&& calc_pixel_width_or_height (&tem, it, prop, 0, 1, &align_to)) |
1819 |
{ |
{ |
1820 |
if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) |
if (it->glyph_row == NULL || !it->glyph_row->mode_line_p) |
1821 |
align_to = (align_to < 0 |
align_to = (align_to < 0 |
1822 |
? 0 |
? 0 |
1823 |
: align_to - window_box_left_offset (it->w, TEXT_AREA)); |
: align_to - window_box_left_offset (it->w, TEXT_AREA)); |
1824 |
else if (align_to < 0) |
else if (align_to < 0) |