diff options
| author | Gerd Moellmann | 2000-06-14 11:32:05 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-06-14 11:32:05 +0000 |
| commit | eb7b678b978335b64dee51c35648f07f4312e954 (patch) | |
| tree | 3fb8392393ad5ea1e0f5bef0173a4d2c75db9d1a | |
| parent | 71983219b5503da68c7488af97a2675feeae47c5 (diff) | |
| download | emacs-eb7b678b978335b64dee51c35648f07f4312e954.tar.gz emacs-eb7b678b978335b64dee51c35648f07f4312e954.zip | |
(printchar, strout): Don't check message_buf_print
before calling setup_echo_area_for_printing because that
function does something useful even when message_buf_print is
already set.
| -rw-r--r-- | src/print.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/print.c b/src/print.c index 6f4a2105b6e..1943ed4082f 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -337,9 +337,7 @@ printchar (ch, fun) | |||
| 337 | int multibyte_p | 337 | int multibyte_p |
| 338 | = !NILP (current_buffer->enable_multibyte_characters); | 338 | = !NILP (current_buffer->enable_multibyte_characters); |
| 339 | 339 | ||
| 340 | if (!message_buf_print) | 340 | setup_echo_area_for_printing (multibyte_p); |
| 341 | setup_echo_area_for_printing (multibyte_p); | ||
| 342 | |||
| 343 | insert_char (ch); | 341 | insert_char (ch); |
| 344 | message_dolog (str, len, 0, multibyte_p); | 342 | message_dolog (str, len, 0, multibyte_p); |
| 345 | } | 343 | } |
| @@ -396,9 +394,7 @@ strout (ptr, size, size_byte, printcharfun, multibyte) | |||
| 396 | int multibyte_p | 394 | int multibyte_p |
| 397 | = !NILP (current_buffer->enable_multibyte_characters); | 395 | = !NILP (current_buffer->enable_multibyte_characters); |
| 398 | 396 | ||
| 399 | if (!message_buf_print) | 397 | setup_echo_area_for_printing (multibyte_p); |
| 400 | setup_echo_area_for_printing (multibyte_p); | ||
| 401 | |||
| 402 | message_dolog (ptr, size_byte, 0, multibyte_p); | 398 | message_dolog (ptr, size_byte, 0, multibyte_p); |
| 403 | 399 | ||
| 404 | if (size == size_byte) | 400 | if (size == size_byte) |