From: Richard M. Stallman Date: Sat, 21 Mar 1998 17:50:03 +0000 (+0000) Subject: (Fregexp_quote): Use make_specified_string. X-Git-Tag: emacs-20.3~1826 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f8100f1d88286d82e2b8c79d4bf7d63d8e8c538;p=emacs.git (Fregexp_quote): Use make_specified_string. --- diff --git a/src/search.c b/src/search.c index dcf486d0dd0..6f18fc7d834 100644 --- a/src/search.c +++ b/src/search.c @@ -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 ()