From 30c6e0629b98431f19cb836b2cb7269fb8d5dadb Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 21 Dec 1997 02:12:03 +0000 Subject: [PATCH] (Fexecute_extended_command): Save and restore message_enable_multibyte. --- src/keyboard.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 2f448606464..19be88f271c 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7274,6 +7274,7 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_ 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 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_ 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); + } } } -- 2.39.2