Commit 3f8100f1 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fregexp_quote): Use make_specified_string.

parent c98265b8
......@@ -2711,9 +2711,10 @@ DEFUN ("regexp-quote", Fregexp_quote, Sregexp_quote, 1, 1, 0,
*out++ = *in;
}
return make_multibyte_string (temp,
return make_specified_string (temp,
XSTRING (string)->size + backslashes_added,
out - temp);
out - temp,
STRING_MULTIBYTE (string));
}
syms_of_search ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment