HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a303d
)
(Fcall_process): Don't call insert_1_both directly if
author
Kenichi Handa
<handa@m17n.org>
Wed, 31 Jul 2002 07:05:17 +0000
(07:05 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 31 Jul 2002 07:05:17 +0000
(07:05 +0000)
we are inserting a process output into a multibyte buffer.
src/callproc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index
bee100f
..
da3654a
100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-764,7
+764,8
@@
usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */)
if (!NILP (buffer))
{
- if (! CODING_MAY_REQUIRE_DECODING (&process_coding))
+ if (NILP (current_buffer->enable_multibyte_characters)
+ && ! CODING_MAY_REQUIRE_DECODING (&process_coding))
insert_1_both (bufptr, nread, nread, 0, 1, 0);
else
{ /* We have to decode the input. */