Mercurial > emacs
comparison src/doc.c @ 21252:fce0c8c246d1
(Fsubstitute_command_keys): Use make_string_from_bytes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 21 Mar 1998 17:59:22 +0000 |
parents | 50929073a0ba |
children | fa9ff387d260 |
comparison
equal
deleted
inserted
replaced
21251:05fbf4f5b14f | 21252:fce0c8c246d1 |
---|---|
728 nchars++; | 728 nchars++; |
729 } | 729 } |
730 } | 730 } |
731 | 731 |
732 if (changed) /* don't bother if nothing substituted */ | 732 if (changed) /* don't bother if nothing substituted */ |
733 tem = make_multibyte_string (buf, nchars, bufp - buf); | 733 tem = make_string_from_bytes (buf, nchars, bufp - buf); |
734 else | 734 else |
735 tem = string; | 735 tem = string; |
736 xfree (buf); | 736 xfree (buf); |
737 RETURN_UNGCPRO (tem); | 737 RETURN_UNGCPRO (tem); |
738 } | 738 } |