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 | 6131da8e7a06b30ec32cb703c0993227ba2e1d7e (patch) | |
| tree | 15890f95031e0f58f9df53f8df1383cab35001e3 /tests/test-elfeed-config--decode-html-entities.el | |
| parent | 5fa1f5c5b386cd00476a32822dbd557c911b9eb1 (diff) | |
| download | dotemacs-6131da8e7a06b30ec32cb703c0993227ba2e1d7e.tar.gz dotemacs-6131da8e7a06b30ec32cb703c0993227ba2e1d7e.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 'tests/test-elfeed-config--decode-html-entities.el')
0 files changed, 0 insertions, 0 deletions
