>From ce54c22d01f9b84b4632adb7e294d7e883f33b81 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 31 Mar 2023 17:54:12 +0300 Subject: [PATCH] Preserve peer information for web page in eww-readable The :peer property in eww-data affects the face of the page title in header-line-format as set by eww-update-header-line-format. Preserving this property in eww-readable avoids having the header line's appearance change when this command is called. * lisp/net/eww.el (eww-readable): Preserve eww-data's :peer property. --- lisp/net/eww.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 1b42ef4e919..a1dd186915e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1014,7 +1014,7 @@ eww-readable (list 'base (list (cons 'href base)) (eww-highest-readability dom)) nil (current-buffer)) - (dolist (elem '(:source :url :title :next :previous :up)) + (dolist (elem '(:source :url :title :next :previous :up :peer)) (plist-put eww-data elem (plist-get old-data elem))) (eww--after-page-change))) -- 2.40.0