aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdumper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdumper.c')
-rw-r--r--src/pdumper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index 2abac80a372..cda8b40be4c 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2628,6 +2628,8 @@ dump_vectorlike_generic (struct dump_context *ctx,
2628static bool 2628static bool
2629dump_hash_table_stable_p (const struct Lisp_Hash_Table *hash) 2629dump_hash_table_stable_p (const struct Lisp_Hash_Table *hash)
2630{ 2630{
2631 if (hash->test.hashfn == hashfn_user_defined)
2632 error ("cannot dump hash tables with user-defined tests"); /* Bug#36769 */
2631 bool is_eql = hash->test.hashfn == hashfn_eql; 2633 bool is_eql = hash->test.hashfn == hashfn_eql;
2632 bool is_equal = hash->test.hashfn == hashfn_equal; 2634 bool is_equal = hash->test.hashfn == hashfn_equal;
2633 ptrdiff_t size = HASH_TABLE_SIZE (hash); 2635 ptrdiff_t size = HASH_TABLE_SIZE (hash);