# HG changeset patch # User Richard M. Stallman # Date 930917714 0 # Node ID 5784771d1cca5912930daebc20e53dc88d6f7cb8 # Parent 600578f350041a707302797b482a20e5d9b7e191 (read_minibuf): Set the multibyteness of the minibuffer before inserting `initial' string. diff -r 600578f35004 -r 5784771d1cca src/minibuf.c --- a/src/minibuf.c Thu Jul 01 19:48:55 1999 +0000 +++ b/src/minibuf.c Fri Jul 02 12:15:14 1999 +0000 @@ -370,6 +370,10 @@ unbind_to (count1, Qnil); } + /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ + if (inherit_input_method) + current_buffer->enable_multibyte_characters = enable_multibyte; + /* Put in the initial input. */ if (!NILP (initial)) { @@ -388,10 +392,6 @@ if (STRINGP (input_method) && !NILP (Ffboundp (Qactivate_input_method))) call1 (Qactivate_input_method, input_method); - /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ - if (inherit_input_method) - current_buffer->enable_multibyte_characters = enable_multibyte; - if (!NILP (current_buffer->enable_multibyte_characters) && ! STRING_MULTIBYTE (minibuf_prompt)) minibuf_prompt = Fstring_make_multibyte (minibuf_prompt);