changeset 74666:3f3a13d1c7ce

(Ftry_completion): Check that obarray buckets are symbols.
author Juanma Barranquero <lekktu@gmail.com>
date Sat, 16 Dec 2006 20:38:14 +0000
parents e7d1798af7fa
children 54cf3b027659
files src/minibuf.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/minibuf.c	Sat Dec 16 19:16:30 2006 +0000
+++ b/src/minibuf.c	Sat Dec 16 20:38:14 2006 +0000
@@ -1311,6 +1311,8 @@
 	{
 	  if (!EQ (bucket, zero))
 	    {
+	      if (!SYMBOLP (bucket))
+		error ("Bad data in guts of obarray");
 	      elt = bucket;
 	      eltstring = elt;
 	      if (XSYMBOL (bucket)->next)