From 77b37c05572d1028d0ec2c264ac0ed3a89c0f4da Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 25 Apr 2011 14:34:39 -0700 Subject: * lisp.h: (XVECTOR_SIZE): Remove. All uses replaced with ASIZE. (ASIZE): Now contains previous implementation of XVECTOR_SIZE instead of invoking XVECTOR_SIZE. --- src/minibuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/minibuf.c') diff --git a/src/minibuf.c b/src/minibuf.c index b73b2418cd6..3f8bd835211 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1227,7 +1227,7 @@ is used to further constrain the set of candidates. */) if (type == obarray_table) { collection = check_obarray (collection); - obsize = XVECTOR_SIZE (collection); + obsize = ASIZE (collection); bucket = XVECTOR (collection)->contents[idx]; } @@ -1490,7 +1490,7 @@ with a space are ignored unless STRING itself starts with a space. */) if (type == 2) { collection = check_obarray (collection); - obsize = XVECTOR_SIZE (collection); + obsize = ASIZE (collection); bucket = XVECTOR (collection)->contents[idx]; } @@ -1804,7 +1804,7 @@ the values STRING, PREDICATE and `lambda'. */) if (completion_ignore_case && !SYMBOLP (tem)) { - for (i = XVECTOR_SIZE (collection) - 1; i >= 0; i--) + for (i = ASIZE (collection) - 1; i >= 0; i--) { tail = XVECTOR (collection)->contents[i]; if (SYMBOLP (tail)) -- cgit v1.2.1