diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 09:08:49 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 09:08:49 -0400 |
| commit | 5fa06885d6a1da2b7e021f78ea0111a81f7b3500 (patch) | |
| tree | e49d03314669cdd7fe16ca7521e7b50fa6fe03d4 /modules/eshell-config.el | |
| parent | c96ccf96fa667b1bd7d9a09485d31c75806b9280 (diff) | |
| download | dotemacs-5fa06885d6a1da2b7e021f78ea0111a81f7b3500.tar.gz dotemacs-5fa06885d6a1da2b7e021f78ea0111a81f7b3500.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 'modules/eshell-config.el')
0 files changed, 0 insertions, 0 deletions
