diff options
| author | Dmitry Antipov | 2014-06-17 17:41:14 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-06-17 17:41:14 +0400 |
| commit | 3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602 (patch) | |
| tree | 7da5181d758e7bd8b719105d6725a8edb1c4c265 /src/ccl.c | |
| parent | 67343d1d9fef95c242a6d050187bb036e4bb82eb (diff) | |
| download | emacs-3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602.tar.gz emacs-3e1fc7fbd10bdf5fc2d4e0c6fdb21c583d445602.zip | |
* lisp.h (STRING_COPYIN): Remove; unused.
* ccl.c (Fccl_execute_on_string):
* font.c (fon_intern_prop): Use make_specified_string.
Diffstat (limited to 'src/ccl.c')
| -rw-r--r-- | src/ccl.c | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -2160,11 +2160,8 @@ usage: (ccl-execute-on-string CCL-PROGRAM STATUS STRING &optional CONTINUE UNIBY | |||
| 2160 | ASET (status, i, make_number (ccl.reg[i])); | 2160 | ASET (status, i, make_number (ccl.reg[i])); |
| 2161 | ASET (status, 8, make_number (ccl.ic)); | 2161 | ASET (status, 8, make_number (ccl.ic)); |
| 2162 | 2162 | ||
| 2163 | if (NILP (unibyte_p)) | 2163 | val = make_specified_string ((const char *) outbuf, produced_chars, |
| 2164 | val = make_multibyte_string ((char *) outbuf, produced_chars, | 2164 | outp - outbuf, NILP (unibyte_p)); |
| 2165 | outp - outbuf); | ||
| 2166 | else | ||
| 2167 | val = make_unibyte_string ((char *) outbuf, produced_chars); | ||
| 2168 | xfree (outbuf); | 2165 | xfree (outbuf); |
| 2169 | 2166 | ||
| 2170 | return val; | 2167 | return val; |