aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 09:08:49 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 09:08:49 -0400
commit714c7e6303b5f958f60e1353bf5233d279656e2e (patch)
treedf00ac5ebca67ebfed79ce17b9ab637e36385ae0 /scripts/theme-studio
parent0e5d3aa8e1b4104b4504c84463329e4fb06ea28b (diff)
downloaddotemacs-714c7e6303b5f958f60e1353bf5233d279656e2e.tar.gz
dotemacs-714c7e6303b5f958f60e1353bf5233d279656e2e.zip
fix(eww): inject the User-Agent reliably under byte-compilation
eww-config.el is lexical-binding and the User-Agent advice let-binds url.el's url-request-extra-headers, but the file never declared it special. The byte-compiler then bound it lexically, so the injected header never reached url-retrieve and the desktop User-Agent silently dropped in compiled production (eww kept working, just with the default UA). A top-level (defvar url-request-extra-headers) makes the compiler treat it as dynamic so the binding propagates. The advice tests, which exercise the compiled path, now pass.
Diffstat (limited to 'scripts/theme-studio')
0 files changed, 0 insertions, 0 deletions