static Lisp_Object
read_minibuf (map, initial, prompt, backup_n, expflag,
- histvar, histpos, defalt, allow_props)
+ histvar, histpos, defalt, allow_props, disable_multibyte)
Lisp_Object map;
Lisp_Object initial;
Lisp_Object prompt;
Lisp_Object histvar;
Lisp_Object histpos;
Lisp_Object defalt;
+ int disable_multibyte;
{
Lisp_Object val;
int count = specpdl_ptr - specpdl;
val = read_minibuf (keymap, initial_contents, prompt,
make_number (pos), !NILP (read),
histvar, histpos, default_value,
- minibuffer_allow_text_properties);
+ minibuffer_allow_text_properties, 0);
if (STRINGP (val) && XSTRING (val)->size == 0 && ! NILP (default_value))
val = default_value;
UNGCPRO;
CHECK_STRING (initial_contents, 1);
return read_minibuf (Vminibuffer_local_map, initial_contents,
prompt, Qnil, 1, Qminibuffer_history,
- make_number (0), Qnil, 0);
+ make_number (0), Qnil, 0, 0);
}
DEFUN ("eval-minibuffer", Feval_minibuffer, Seval_minibuffer, 1, 2, 0,
CHECK_STRING (init, 1);
return read_minibuf (Vminibuffer_local_ns_map, init, prompt, Qnil,
- 0, Qminibuffer_history, make_number (0), Qnil, 0);
+ 0, Qminibuffer_history, make_number (0), Qnil, 0, 0);
}
DEFUN ("read-command", Fread_command, Sread_command, 1, 2, 0,
int pos = 0;
int count = specpdl_ptr - specpdl;
struct gcpro gcpro1;
+ int disable_multibyte = EQ (table, Qread_file_name_internal);
GCPRO1 (def);
? Vminibuffer_local_completion_map
: Vminibuffer_local_must_match_map,
init, prompt, make_number (pos), 0,
- histvar, histpos, def, 0);
+ histvar, histpos, def, 0, disable_multibyte);
if (STRINGP (val) && XSTRING (val)->size == 0 && ! NILP (def))
val = def;
RETURN_UNGCPRO (unbind_to (count, val));