changeset 20493:698bee206f03

(Fexecute_extended_command): Save and restore message_enable_multibyte.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Dec 1997 02:12:03 +0000
parents 8f8db0e25b29
children 9946c5fb4ff7
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sun Dec 21 02:10:01 1997 +0000
+++ b/src/keyboard.c	Sun Dec 21 02:12:03 1997 +0000
@@ -7274,6 +7274,7 @@
 	  char *newmessage;
 	  char *oldmessage = echo_area_glyphs;
 	  int oldmessage_len = echo_area_glyphs_length;
+	  int oldmultibyte = message_enable_multibyte;
 
 	  binding = Fkey_description (bindings);
 
@@ -7288,7 +7289,10 @@
 	  if (!NILP (Fsit_for ((NUMBERP (Vsuggest_key_bindings)
 				? Vsuggest_key_bindings : make_number (2)),
 			       Qnil, Qnil)))
-	    message2_nolog (oldmessage, oldmessage_len);
+	    {
+	      message_enable_multibyte = oldmultibyte;
+	      message2_nolog (oldmessage, oldmessage_len);
+	    }
 	}
     }