Commit 659afede authored by Kenichi Handa's avatar Kenichi Handa

callproc.c (Fcall_process): Set the member dst_multibyte of process_coding.

parent 0756b0c3
2011-11-11 Kenichi Handa <handa@m17n.org>
* callproc.c (Fcall_process): Set the member dst_multibyte of
process_coding.
2011-11-11 Johan Bockgård <bojohan@gnu.org>
* xdisp.c (fill_composite_glyph_string): Always set s->face, to
......
......@@ -712,6 +712,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
/* If BUFFER is nil, we must read process output once and then
discard it, so setup coding system but with nil. */
setup_coding_system (Qnil, &process_coding);
process_coding.dst_multibyte = 0;
}
else
{
......@@ -747,6 +748,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
&& !NILP (val))
val = raw_text_coding_system (val);
setup_coding_system (val, &process_coding);
process_coding.dst_multibyte
= ! NILP (BVAR (current_buffer, enable_multibyte_characters));
}
process_coding.src_multibyte = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment