summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index 238a37193c1..0497588689b 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4231,6 +4231,11 @@ maybe_resize_hash_table (struct Lisp_Hash_Table *h)
}
}
+/* Recompute the hashes (and hence also the "next" pointers).
+ Normally there's never a need to recompute hashes.
+ This is done only on first-access to a hash-table loaded from
+ the "pdump", because the object's addresses may have changed, thus
+ affecting their hash. */
void
hash_table_rehash (struct Lisp_Hash_Table *h)
{