Mercurial > emacs
comparison src/process.c @ 37758:270e6cb4c672
(read_process_output): Don't call signal_after_change
and update_compositions after insert_from_string_before_markers.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 16 May 2001 16:04:52 +0000 |
parents | f790d83ea743 |
children | 2d3bee6a3848 |
comparison
equal
deleted
inserted
replaced
37757:4db8f2c1ab36 | 37758:270e6cb4c672 |
---|---|
3157 nbytes = STRING_BYTES (XSTRING (text)); | 3157 nbytes = STRING_BYTES (XSTRING (text)); |
3158 nchars = XSTRING (text)->size; | 3158 nchars = XSTRING (text)->size; |
3159 /* Insert before markers in case we are inserting where | 3159 /* Insert before markers in case we are inserting where |
3160 the buffer's mark is, and the user's next command is Meta-y. */ | 3160 the buffer's mark is, and the user's next command is Meta-y. */ |
3161 insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0); | 3161 insert_from_string_before_markers (text, 0, 0, nchars, nbytes, 0); |
3162 signal_after_change (before, 0, PT - before); | |
3163 update_compositions (before, PT, CHECK_BORDER); | |
3164 | 3162 |
3165 /* Make sure the process marker's position is valid when the | 3163 /* Make sure the process marker's position is valid when the |
3166 process buffer is changed in the signal_after_change above. | 3164 process buffer is changed in the signal_after_change above. |
3167 W3 is known to do that. */ | 3165 W3 is known to do that. */ |
3168 if (BUFFERP (p->buffer) | 3166 if (BUFFERP (p->buffer) |