Lars Ingebrigtsen writes: Hi, > Patch 1/2 was applied to Emacs 28 some time ago (and works fine), so > this was just a followup on 2/2 -- whether this clean-up patch (which > apparently doesn't work correctly, according to Michael) is going to get > any further work done, or whether this issue should just be closed... I've reworked the patch, using an association list instead of a hash table. By this, I've fixed also the error which was always evident, but uncovered only by Spencer's patch. Pushed to master, I'm closing the bug. The patch itself is appended below. Best regards, Michael.