mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 04:10:27 -08:00
(read_minibuf): Set the multibyteness of the
minibuffer before inserting `initial' string.
This commit is contained in:
parent
716490f0c2
commit
094d978996
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue