changeset 20495:db1be942dc12

(Fgarbage_collect): Save message_enable_multibyte and pass it to message2_nolog.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Dec 1997 02:17:50 +0000
parents 9946c5fb4ff7
children b2536e1685e9
files src/alloc.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/alloc.c	Sun Dec 21 02:17:16 1997 +0000
+++ b/src/alloc.c	Sun Dec 21 02:17:50 1997 +0000
@@ -189,6 +189,8 @@
 static void mark_object (), mark_buffer (), mark_kboards ();
 static void clear_marks (), gc_sweep ();
 static void compact_strings ();
+
+extern int message_enable_multibyte;
 
 /* Versions of malloc and realloc that print warnings as memory gets full.  */
 
@@ -1543,6 +1545,7 @@
   register Lisp_Object tem;
   char *omessage = echo_area_glyphs;
   int omessage_length = echo_area_glyphs_length;
+  int oldmultibyte = message_enable_multibyte;
   char stack_top_variable;
   register int i;
 
@@ -1695,7 +1698,7 @@
   if (garbage_collection_messages)
     {
       if (omessage || minibuf_level > 0)
-	message2_nolog (omessage, omessage_length);
+	message2_nolog (omessage, omessage_length, oldmultibyte);
       else
 	message1_nolog ("Garbage collecting...done");
     }