Mercurial > emacs
changeset 5233:83e771f33251
(printchar, strout): Set echo_area_glyphs_length.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 23 Dec 1993 01:09:51 +0000 |
parents | 823c0cf7bbc8 |
children | abc23ae65483 |
files | src/print.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/print.c Thu Dec 23 01:07:58 1993 +0000 +++ b/src/print.c Thu Dec 23 01:09:51 1993 +0000 @@ -205,12 +205,14 @@ { echo_area_glyphs = FRAME_MESSAGE_BUF (selected_frame); printbufidx = 0; + echo_area_glyphs_length = 0; message_buf_print = 1; } if (printbufidx < FRAME_WIDTH (selected_frame) - 1) FRAME_MESSAGE_BUF (selected_frame)[printbufidx++] = ch; FRAME_MESSAGE_BUF (selected_frame)[printbufidx] = 0; + echo_area_glyphs_length = printbufidx; return; } @@ -257,6 +259,7 @@ { echo_area_glyphs = FRAME_MESSAGE_BUF (selected_frame); printbufidx = 0; + echo_area_glyphs_length = 0; message_buf_print = 1; } @@ -264,6 +267,7 @@ i = FRAME_WIDTH (selected_frame) - printbufidx - 1; bcopy (ptr, &FRAME_MESSAGE_BUF (selected_frame) [printbufidx], i); printbufidx += i; + echo_area_glyphs_length = printbufidx; FRAME_MESSAGE_BUF (selected_frame) [printbufidx] = 0; return;