summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-25 14:34:39 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-25 14:34:39 -0700
commit77b37c05572d1028d0ec2c264ac0ed3a89c0f4da (patch)
treecb5140f5f92f5f91bb9e8846e5254fc58df52cc4 /src/minibuf.c
parentb102ceb110a9cd38f5c589c1869747b1e1c792cb (diff)
downloademacs-77b37c05572d1028d0ec2c264ac0ed3a89c0f4da.tar.gz
* lisp.h: (XVECTOR_SIZE): Remove. All uses replaced with ASIZE.
(ASIZE): Now contains previous implementation of XVECTOR_SIZE instead of invoking XVECTOR_SIZE.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c6
1 files changed, 3 insertions, 3 deletions
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))