mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 22:40:51 -08:00
callproc.c (Fcall_process): Set the member dst_multibyte of process_coding.
This commit is contained in:
parent
0756b0c3a6
commit
659afedebb
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue