changeset 29642:5b727419f3aa

(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.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Jun 2000 11:32:05 +0000
parents 703433352fc4
children 77f1e8db4147
files src/print.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/print.c	Wed Jun 14 08:02:05 2000 +0000
+++ b/src/print.c	Wed Jun 14 11:32:05 2000 +0000
@@ -337,9 +337,7 @@
 	  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 @@
       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)