changeset 74649:9eabe428fc2e

(Ftry_completion): Use `check_obarray' if ALIST is a vector.
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 16 Dec 2006 00:43:50 +0000
parents 5afa3802aa64
children f3821d84332b
files src/minibuf.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Fri Dec 15 21:21:43 2006 +0000
+++ b/src/minibuf.c	Sat Dec 16 00:43:50 2006 +0000
@@ -1287,6 +1287,7 @@
   tail = alist;
   if (type == 2)
     {
+      alist = check_obarray (alist);
       obsize = XVECTOR (alist)->size;
       bucket = XVECTOR (alist)->contents[index];
     }