diff options
| author | Juanma Barranquero | 2010-06-03 21:02:32 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-06-03 21:02:32 +0200 |
| commit | aa3830c49727fa443a11eaab9dedb404349c95e1 (patch) | |
| tree | 3d33a06047a7f692aca841dd279a41890c8824df /src/fns.c | |
| parent | d234d13e4bc3748665e8592fb13c6ee29671f709 (diff) | |
| download | emacs-aa3830c49727fa443a11eaab9dedb404349c95e1.tar.gz emacs-aa3830c49727fa443a11eaab9dedb404349c95e1.zip | |
Remove obsolete pre-unicode2 macros.
* character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove.
* composite.c (composition_reseat_it):
* data.c (Faset):
* fns.c (Ffillarray):
* regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD.
[!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH.
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2280,7 +2280,7 @@ ARRAY is a vector, string, char-table, or bool-vector. */) | |||
| 2280 | if (size != size_byte) | 2280 | if (size != size_byte) |
| 2281 | while (p1 < endp) | 2281 | while (p1 < endp) |
| 2282 | { | 2282 | { |
| 2283 | int this_len = MULTIBYTE_FORM_LENGTH (p1, endp - p1); | 2283 | int this_len = BYTES_BY_CHAR_HEAD (*p1); |
| 2284 | if (len != this_len) | 2284 | if (len != this_len) |
| 2285 | error ("Attempt to change byte length of a string"); | 2285 | error ("Attempt to change byte length of a string"); |
| 2286 | p1 += this_len; | 2286 | p1 += this_len; |