changeset 24918:5784771d1cca

(read_minibuf): Set the multibyteness of the minibuffer before inserting `initial' string.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jul 1999 12:15:14 +0000
parents 600578f35004
children 7b31dd5d71bb
files src/minibuf.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);