(read_minibuf): Deal with allow_props correctly.
{
int size, len;
char *line, *s;
- struct gcpro gcpro1, gcpro2;
Lisp_Object val;
fprintf (stdout, "%s", XSTRING (prompt)->data);
/* Make minibuffer contents into a string. */
Fset_buffer (minibuffer);
- val = Ffield_string (make_number (ZV), allow_props ? Qt : Qnil);
+ if (allow_props)
+ val = Ffield_string (make_number (ZV));
+ else
+ val = Ffield_string_no_properties (make_number (ZV));
/* VAL is the string of minibuffer text. */