From: Richard M. Stallman Date: Sat, 21 Mar 1998 18:00:38 +0000 (+0000) Subject: (Fstring): Use make_string_from_bytes. X-Git-Tag: emacs-20.3~1819 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2780260006e3da3d0fcc8412aa7771f43bb112bc;p=emacs.git (Fstring): Use make_string_from_bytes. (Fcompose_string): Likewise. --- diff --git a/src/charset.c b/src/charset.c index af8a2490daf..acc24a29e25 100644 --- a/src/charset.c +++ b/src/charset.c @@ -1149,7 +1149,7 @@ DEFUN ("string", Fstring, Sstring, 1, MANY, 0, p += len; } - val = make_multibyte_string (buf, n, p - buf); + val = make_string_from_bytes (buf, n, p - buf); return val; } @@ -1565,7 +1565,7 @@ DEFUN ("compose-string", Fcompose_string, Scompose_string, /* STR contains only one character, which can't be composed. */ error ("Too short string to be composed: %s", XSTRING (str)->data); - return make_multibyte_string (buf, 1, i); + return make_string_from_bytes (buf, 1, i); }