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 | de01036abae7fc717ea186163cafb73b8b9ad900 (patch) | |
| tree | aa8372eef1c6e3601f771b0420ed7da12d30d701 /modules/dirvish-config.el | |
| parent | 65f93d29866ee1876f2337ce454e3da1a96cdac8 (diff) | |
| download | dotemacs-de01036abae7fc717ea186163cafb73b8b9ad900.tar.gz dotemacs-de01036abae7fc717ea186163cafb73b8b9ad900.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/dirvish-config.el')
0 files changed, 0 insertions, 0 deletions
