Commit 3e0de07f authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(print_preprocess): Preprocess the key_and_value table of

hashtables, even tho they're "hidden" (bug#5082).
parent 67296dda
2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
* print.c (print_preprocess): Preprocess the key_and_value table of
hashtables, even tho they're "hidden" (bug#5082).
2009-11-29 Jan Djärv <jan.h.d@swipnet.se>
 
* frame.c (frame_make_pointer_invisible)
......
......@@ -1416,6 +1416,13 @@ print_preprocess (obj)
size &= PSEUDOVECTOR_SIZE_MASK;
for (i = 0; i < size; i++)
print_preprocess (XVECTOR (obj)->contents[i]);
if (HASH_TABLE_P (obj))
{ /* For hash tables, the key_and_value slot is past
`size' because it needs to be marked specially in case
the table is weak. */
struct Lisp_Hash_Table *h = XHASH_TABLE (obj);
print_preprocess (h->key_and_value);
}
break;
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment