diff options
author | Richard M. Stallman <rms@gnu.org> | 1999-07-02 12:15:14 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1999-07-02 12:15:14 +0000 |
commit | 094d978996da9605ca32cd05e738e6f456bac5bc (patch) | |
tree | 2c98ea04fd6e226113fb0cc7e1f72b610df0e6dd /src/minibuf.c | |
parent | 716490f0c2a66464638f25cafed4dd3f22452865 (diff) | |
download | emacs-094d978996da9605ca32cd05e738e6f456bac5bc.tar.gz |
(read_minibuf): Set the multibyteness of the
minibuffer before inserting `initial' string.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index b1950352d0d..f56e609b8c2 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -370,6 +370,10 @@ read_minibuf (map, initial, prompt, backup_n, expflag, 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 @@ read_minibuf (map, initial, prompt, backup_n, expflag, 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); |