aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorJuanma Barranquero2010-06-03 21:02:32 +0200
committerJuanma Barranquero2010-06-03 21:02:32 +0200
commitaa3830c49727fa443a11eaab9dedb404349c95e1 (patch)
tree3d33a06047a7f692aca841dd279a41890c8824df /src/fns.c
parentd234d13e4bc3748665e8592fb13c6ee29671f709 (diff)
downloademacs-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index b4d132ea0c1..89033309c8c 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -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;