From df3c11b907114afe8bb72414f6b4441dd4963cec Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 11 Oct 2000 01:23:36 +0000 Subject: [PATCH] (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. --- src/ChangeLog | 2 +- src/process.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b460b5319ca..79c00ad222c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,7 +2,7 @@ * process.c (read_process_output): Fix previous change. Adjust multibyteness of text to insert in a buffer by - make_string_unibyte/multibyte instead of + string_make_unibyte/multibyte instead of Fstring_as_unibyte/multibyte. 2000-10-10 Andreas Schwab 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) 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); -- 2.39.5