[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4ba6954e695 01/20: * src/print.c (print_object): Don't print hash
From: |
Mattias Engdegård |
Subject: |
master 4ba6954e695 01/20: * src/print.c (print_object): Don't print hash table test if `eql`. |
Date: |
Sat, 13 Jan 2024 14:53:59 -0500 (EST) |
branch: master
commit 4ba6954e69528f89dc12bf968dec845601b1b24b
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
* src/print.c (print_object): Don't print hash table test if `eql`.
Since `eql` is the default, this ensures bidirectional compatibility
while reducing the size of the external representation.
---
src/print.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/print.c b/src/print.c
index e22f3b6778c..0a5f2ee48d4 100644
--- a/src/print.c
+++ b/src/print.c
@@ -2580,7 +2580,7 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun,
bool escapeflag)
HASH_TABLE_SIZE (h));
strout (buf, len, len, printcharfun);
- if (!NILP (h->test.name))
+ if (!BASE_EQ (h->test.name, Qeql))
{
print_c_string (" test ", printcharfun);
print_object (h->test.name, printcharfun, escapeflag);
- master updated (76904626b36 -> d2c3a983146), Mattias Engdegård, 2024/01/13
- master 4ba6954e695 01/20: * src/print.c (print_object): Don't print hash table test if `eql`.,
Mattias Engdegård <=
- master 49fd4d120de 07/20: Allow zero hash table size, Mattias Engdegård, 2024/01/13
- master c3d0cc50faf 05/20: Remove rehash-threshold and rehash-size struct members, Mattias Engdegård, 2024/01/13
- master a3ae5653cfe 09/20: Store hash values as integers instead of Lisp_Object, Mattias Engdegård, 2024/01/13
- master ed06de52a53 14/20: Faster hash table growth, starting at zero size, Mattias Engdegård, 2024/01/13
- master fa5c07fc87d 08/20: Use non-Lisp allocation for internal hash-table vectors, Mattias Engdegård, 2024/01/13
- master 7ad5d427730 16/20: Don't dump Qunbound, Mattias Engdegård, 2024/01/13
- master d2c3a983146 20/20: Hash-table documentation updates (bug#68244), Mattias Engdegård, 2024/01/13
- master a09619f2598 02/20: * src/print.c (print_object): Don't print empty hash-table data, Mattias Engdegård, 2024/01/13
- master 3f9c81a87f7 03/20: Don't print or read the hash table size parameter, Mattias Engdegård, 2024/01/13
- master d3cefd3e983 06/20: Leaner hash table dumping and thawing, Mattias Engdegård, 2024/01/13