diff options
| author | Juanma Barranquero | 2006-12-16 20:38:14 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-12-16 20:38:14 +0000 |
| commit | 9b6b374a7dd7b8d764aa78012c95220efa93fcd0 (patch) | |
| tree | d486823bf169aa1ff7a6f4241418f238f2929553 | |
| parent | 6d95228dad554931a2ae1dc9d5850b1b51d47dc3 (diff) | |
| download | emacs-9b6b374a7dd7b8d764aa78012c95220efa93fcd0.tar.gz emacs-9b6b374a7dd7b8d764aa78012c95220efa93fcd0.zip | |
(Ftry_completion): Check that obarray buckets are symbols.
| -rw-r--r-- | src/minibuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */) | |||
| 1311 | { | 1311 | { |
| 1312 | if (!EQ (bucket, zero)) | 1312 | if (!EQ (bucket, zero)) |
| 1313 | { | 1313 | { |
| 1314 | if (!SYMBOLP (bucket)) | ||
| 1315 | error ("Bad data in guts of obarray"); | ||
| 1314 | elt = bucket; | 1316 | elt = bucket; |
| 1315 | eltstring = elt; | 1317 | eltstring = elt; |
| 1316 | if (XSYMBOL (bucket)->next) | 1318 | if (XSYMBOL (bucket)->next) |