From 3f8100f1d88286d82e2b8c79d4bf7d63d8e8c538 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 Mar 1998 17:50:03 +0000 Subject: [PATCH] (Fregexp_quote): Use make_specified_string. --- src/search.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 () -- 2.39.5