Commit eb7b678b authored by Gerd Moellmann's avatar Gerd Moellmann

(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.
parent 71983219
......@@ -337,9 +337,7 @@ printchar (ch, fun)
int multibyte_p
= !NILP (current_buffer->enable_multibyte_characters);
if (!message_buf_print)
setup_echo_area_for_printing (multibyte_p);
setup_echo_area_for_printing (multibyte_p);
insert_char (ch);
message_dolog (str, len, 0, multibyte_p);
}
......@@ -396,9 +394,7 @@ strout (ptr, size, size_byte, printcharfun, multibyte)
int multibyte_p
= !NILP (current_buffer->enable_multibyte_characters);
if (!message_buf_print)
setup_echo_area_for_printing (multibyte_p);
setup_echo_area_for_printing (multibyte_p);
message_dolog (ptr, size_byte, 0, multibyte_p);
if (size == size_byte)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment