From: Juanma Barranquero Date: Sat, 16 Dec 2006 20:38:14 +0000 (+0000) Subject: (Ftry_completion): Check that obarray buckets are symbols. X-Git-Tag: emacs-pretest-22.0.92~84 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b6b374a7dd7b8d764aa78012c95220efa93fcd0;p=emacs.git (Ftry_completion): Check that obarray buckets are symbols. --- diff --git a/src/minibuf.c b/src/minibuf.c index c2df83253fd..ab95b5f0a46 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1311,6 +1311,8 @@ is used to further constrain the set of candidates. */) { if (!EQ (bucket, zero)) { + if (!SYMBOLP (bucket)) + error ("Bad data in guts of obarray"); elt = bucket; eltstring = elt; if (XSYMBOL (bucket)->next)