diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-12-23 01:09:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-12-23 01:09:51 +0000 |
commit | 65b80739314b2f63a8cb7613ed8ff3c1309618ef (patch) | |
tree | af3a37caa6c8b38cc9fb47e5439482d5cc02bbbb /src/print.c | |
parent | e35dd1f0e4d1c855ba3b12e0319dd0b3cbdf6e94 (diff) | |
download | emacs-65b80739314b2f63a8cb7613ed8ff3c1309618ef.tar.gz |
(printchar, strout): Set echo_area_glyphs_length.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/print.c b/src/print.c index 83dcb2a766d..cb8418461de 100644 --- a/src/print.c +++ b/src/print.c @@ -205,12 +205,14 @@ printchar (ch, fun) { 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 @@ strout (ptr, size, printcharfun) { echo_area_glyphs = FRAME_MESSAGE_BUF (selected_frame); printbufidx = 0; + echo_area_glyphs_length = 0; message_buf_print = 1; } @@ -264,6 +267,7 @@ strout (ptr, size, printcharfun) 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; |