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. (Bug#62574)
This commit is contained in:
parent
cb8d6ab648
commit
3619663f98
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ the like."
|
||||||
(list 'base (list (cons 'href base))
|
(list 'base (list (cons 'href base))
|
||||||
(eww-highest-readability dom))
|
(eww-highest-readability dom))
|
||||||
nil (current-buffer))
|
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)))
|
(plist-put eww-data elem (plist-get old-data elem)))
|
||||||
(eww--after-page-change)))
|
(eww--after-page-change)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue