changeset 20494:9946c5fb4ff7

(message2_nolog): New arg MULTIBYTE. (message2): Pass new arg to message2_nolog. (message1_nolog): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Dec 1997 02:17:16 +0000
parents 698bee206f03
children db1be942dc12
files src/xdisp.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun Dec 21 02:12:03 1997 +0000
+++ b/src/xdisp.c	Sun Dec 21 02:17:16 1997 +0000
@@ -459,19 +459,19 @@
   message_log_maybe_newline ();
   if (m)
     message_dolog (m, len, 1);
-  message2_nolog (m, len);
+  message2_nolog (m, len,
+		  ! NILP (current_buffer->enable_multibyte_characters));
 }
 
 
 /* The non-logging counterpart of message2.  */
 
 void
-message2_nolog (m, len)
+message2_nolog (m, len, multibyte)
      char *m;
      int len;
 {
-  message_enable_multibyte
-    = ! NILP (current_buffer->enable_multibyte_characters);
+  message_enable_multibyte = multibyte;
 
   if (noninteractive)
     {
@@ -542,7 +542,8 @@
 message1_nolog (m)
      char *m;
 {
-  message2_nolog (m, (m ? strlen (m) : 0));
+  message2_nolog (m, (m ? strlen (m) : 0),
+		  ! NILP (current_buffer->enable_multibyte_characters));
 }
 
 /* Truncate what will be displayed in the echo area