aboutsummaryrefslogtreecommitdiffstats
path: root/src/category.c
diff options
context:
space:
mode:
authorPip Cet2024-08-20 19:04:44 +0000
committerStefan Kangas2024-12-12 22:48:12 +0100
commitafd61deaaeb5e5e6845bdf995ac5ee9a3479599c (patch)
treea13e37e2a5ad40374959fe263ebb4e2a8a484ed2 /src/category.c
parente1e101c6c10b6e5110c2c47946d477a752828a78 (diff)
downloademacs-afd61deaaeb5e5e6845bdf995ac5ee9a3479599c.tar.gz
emacs-afd61deaaeb5e5e6845bdf995ac5ee9a3479599c.zip
Pure storage removal: Remove purecopy hash table flag
* lisp/emacs-liqsp/comp.el (comp--jump-table-optimizable): Adjust comment. * src/category.c (hash_get_category_set): * src/emacs-module.c (syms_of_module): * src/fns.c (make_hash_table): Remove 'purecopy' flag and update docstring. (Fmake_hash_table): Ignore ':purecopy' argument. * src/frame.c (make_frame): * src/image.c (xpm_make_color_table_h): * src/lisp.h (struct Lisp_Hash_Table): Drop 'purecopy' flag. * src/pdumper.c (dump_hash_table): Don't dump 'purecopy' flag. * src/print.c (print_object): Don't print 'purecopy' flag * src/json.c (json_parse_object): * src/lread.c (readevalloop, read_internal_start): * src/pgtkterm.c (syms_of_pgtkterm): * src/profiler.c (export_log): * src/xfaces.c (syms_of_xfaces): * src/xterm.c (syms_of_xterm): Adjust calls to 'make_hash_table'.
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/category.c b/src/category.c
index ef29a1a681a..85a2ea0ad0f 100644
--- a/src/category.c
+++ b/src/category.c
@@ -51,7 +51,7 @@ hash_get_category_set (Lisp_Object table, Lisp_Object category_set)
51 if (NILP (XCHAR_TABLE (table)->extras[1])) 51 if (NILP (XCHAR_TABLE (table)->extras[1]))
52 set_char_table_extras 52 set_char_table_extras
53 (table, 1, 53 (table, 1,
54 make_hash_table (&hashtest_equal, DEFAULT_HASH_SIZE, Weak_None, false)); 54 make_hash_table (&hashtest_equal, DEFAULT_HASH_SIZE, Weak_None));
55 struct Lisp_Hash_Table *h = XHASH_TABLE (XCHAR_TABLE (table)->extras[1]); 55 struct Lisp_Hash_Table *h = XHASH_TABLE (XCHAR_TABLE (table)->extras[1]);
56 hash_hash_t hash; 56 hash_hash_t hash;
57 ptrdiff_t i = hash_lookup_get_hash (h, category_set, &hash); 57 ptrdiff_t i = hash_lookup_get_hash (h, category_set, &hash);