|
From: | Mattias Engdegård |
Subject: | bug#68668: 30.0.50; Invalid hash table test: tab-bar--auto-width-hash-test |
Date: | Wed, 31 Jan 2024 14:18:57 +0100 |
31 jan. 2024 kl. 14.05 skrev Gerd Möllmann <gerd.moellmann@gmail.com>: > why not reuse an existing entry for a given name? We mustn't violate invariants of existing hash-table objects when the test is redefined. Consider: (define-hash-table-test 'mytest #'cmp1 #'hash1) (setq h (make-hash-table :test 'mytest)) ... (define-hash-table-test 'mytest #'cmp2 #'hash2) ; h must still use cmp1 and hash1 at this point
[Prev in Thread] | Current Thread | [Next in Thread] |