]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fregexp_quote): Use make_specified_string.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 17:50:03 +0000 (17:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Mar 1998 17:50:03 +0000 (17:50 +0000)
src/search.c

index dcf486d0dd0a1a325d378fb3860f8cf6ac40556d..6f18fc7d8345056bd71ed470efdb3524b97d3e9e 100644 (file)
@@ -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));
 }
 \f  
 syms_of_search ()