Mercurial > emacs
changeset 32395:11b8c07e5fed
(read_process_output): Cancel previous change.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 11 Oct 2000 23:56:30 +0000 |
parents | 49330b52b578 |
children | b68d86c19284 |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Wed Oct 11 21:28:13 2000 +0000 +++ b/src/process.c Wed Oct 11 23:56:30 2000 +0000 @@ -3086,8 +3086,6 @@ if (! (BEGV <= PT && PT <= ZV)) Fwiden (); - /* Insert before markers in case we are inserting where - the buffer's mark is, and the user's next command is Meta-y. */ text = decode_coding_string (make_unibyte_string (chars, nbytes), coding, 0); Vlast_coding_system_used = coding->symbol; @@ -3112,10 +3110,12 @@ if (NILP (current_buffer->enable_multibyte_characters) != ! STRING_MULTIBYTE (text)) text = (STRING_MULTIBYTE (text) - ? string_make_unibyte (text) - : string_make_multibyte (text)); + ? Fstring_as_unibyte (text) + : Fstring_as_multibyte (text)); nbytes = STRING_BYTES (XSTRING (text)); nchars = XSTRING (text)->size; + /* Insert before markers in case we are inserting where + the buffer's mark is, and the user's next command is Meta-y. */ insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0); signal_after_change (before, 0, PT - before); update_compositions (before, PT, CHECK_BORDER);