aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/theme-studio.template.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-24 00:13:43 -0400
committerCraig Jennings <c@cjennings.net>2026-06-24 00:13:43 -0400
commitb149241c15466bbbbf6007f49721ef8bda42236b (patch)
tree09e67408b6dd715d9c1bd7be7cdc866cfb331079 /scripts/theme-studio/theme-studio.template.html
parent2650bf67771ac2362d6f684dd395a35ee22e4b0d (diff)
downloaddotemacs-b149241c15466bbbbf6007f49721ef8bda42236b.tar.gz
dotemacs-b149241c15466bbbbf6007f49721ef8bda42236b.zip
fix(coverage): bind json reader vars dynamically in simplecov parsers
The simplecov parse helpers let-bound json-object-type, json-array-type, and json-key-type around json-read-file to get string-keyed hash tables. Under lexical-binding the compiler hadn't seen json.el's defvars, so it compiled those as lexical bindings that never reached the reader; the compiled helpers got json.el's default symbol-keyed alist and then signaled wrong-type-argument hash-table-p in their maphash. Interpreted code happened to work because the in-function require made the vars special first. Add eval-when-compile (require 'json) so the compiler treats them as dynamic. Claude-Session: https://claude.ai/code/session_01BqrdWUo9GcznYX2pZr76gZ
Diffstat (limited to 'scripts/theme-studio/theme-studio.template.html')
0 files changed, 0 insertions, 0 deletions