aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorKenichi Handa2000-10-11 01:23:36 +0000
committerKenichi Handa2000-10-11 01:23:36 +0000
commitdf3c11b907114afe8bb72414f6b4441dd4963cec (patch)
treeec885c3a5ead1bb40b9bac5fbd0179423a0db8a6 /src/process.c
parenteb483c2b9186737c6145d5a651342c035e17f61b (diff)
downloademacs-df3c11b907114afe8bb72414f6b4441dd4963cec.tar.gz
emacs-df3c11b907114afe8bb72414f6b4441dd4963cec.zip
(read_process_output): Fix previous change. Adjust multibyteness of
text to insert in a buffer by make_string_unibyte/multibyte instead of Fstring_as_unibyte/multibyte.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 48c960f9a43..edae85f95f5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -3112,8 +3112,8 @@ read_process_output (proc, channel)
3112 if (NILP (current_buffer->enable_multibyte_characters) 3112 if (NILP (current_buffer->enable_multibyte_characters)
3113 != ! STRING_MULTIBYTE (text)) 3113 != ! STRING_MULTIBYTE (text))
3114 text = (STRING_MULTIBYTE (text) 3114 text = (STRING_MULTIBYTE (text)
3115 ? Fstring_as_unibyte (text) 3115 ? string_make_unibyte (text)
3116 : Fstring_as_multibyte (text)); 3116 : string_make_multibyte (text));
3117 nbytes = STRING_BYTES (XSTRING (text)); 3117 nbytes = STRING_BYTES (XSTRING (text));
3118 nchars = XSTRING (text)->size; 3118 nchars = XSTRING (text)->size;
3119 insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0); 3119 insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0);