]> git.eshelyaron.com Git - emacs.git/commit
When navigating to anchor targets in EWW, retain 'eww-data' properties
authorJim Porter <jporterbugs@gmail.com>
Sat, 21 Jun 2025 19:10:59 +0000 (12:10 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 24 Jun 2025 06:31:03 +0000 (08:31 +0200)
commita53fcc23757fb1aa9b86cdc2a878d4ac689bb015
tree0686320988506f74eff58c6a7f861d7ec8bbf54e
parent2f988221a77ac18edc3046a1294ae85145030f8d
When navigating to anchor targets in EWW, retain 'eww-data' properties

Previously, navigating to an in-page anchor target would clear
'eww-data', removing many important properties like the original source
and the DOM.  Among other things, this prevented enabling/disabling
readable mode.

* lisp/net/eww.el (eww-follow-link): Copy previous 'eww-data'.

(cherry picked from commit e5ad9ae10090ab34a4d71139e6f928c11f0c029c)
lisp/net/eww.el