Mercurial > emacs
diff lisp/comint.el @ 15801:b0bd5de2ce82
When printing into a buffer, generate all the text
first, then insert it all at once.
(print_buffer): New variable.
(print_buffer_size, print_buffer_pos): New variables.
(PRINTPREPARE): Allocate print_buffer.
(PRINTFINISH): Free print_buffer after inserting its contents.
(printchar, strout): Output into print_buffer.
(print_string): If printcharfun is nil, use strout.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 30 Jul 1996 18:51:50 +0000 |
parents | 6c3657019286 |
children | 9e94b5fdaab1 |