Mercurial > emacs
diff src/process.c @ 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 | 924ecf698ac3 |
children | 11b8c07e5fed |
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);