changeset 32371:8acf0e6e062a

(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.
author Kenichi Handa <handa@m17n.org>
date Wed, 11 Oct 2000 01:20:59 +0000
parents ddc96d4efd63
children 1281dfa22cb3
files src/process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Wed Oct 11 01:20:36 2000 +0000
+++ b/src/process.c	Wed Oct 11 01:20:59 2000 +0000
@@ -3112,8 +3112,8 @@
       if (NILP (current_buffer->enable_multibyte_characters)
 	  != ! STRING_MULTIBYTE (text))
 	text = (STRING_MULTIBYTE (text)
-		? Fstring_as_unibyte (text)
-		: Fstring_as_multibyte (text));
+		? string_make_unibyte (text)
+		: string_make_multibyte (text));
       nbytes = STRING_BYTES (XSTRING (text));
       nchars = XSTRING (text)->size;
       insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0);