diff options
author | Jim Porter <jporterbugs@gmail.com> | 2024-03-17 12:01:59 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2024-03-23 10:17:06 -0700 |
commit | 72972118e6f5831f200108cd7b80bf86538c265e (patch) | |
tree | e096274d388abcf57ffff132f13566b02fdc5578 /test/lisp/emacs-lisp/bytecomp-resources/warn-callargs.el | |
parent | af1e36d0c66350113869df9e840e5f21b750ce9d (diff) | |
download | emacs-72972118e6f5831f200108cd7b80bf86538c265e.tar.gz emacs-72972118e6f5831f200108cd7b80bf86538c265e.tar.bz2 emacs-72972118e6f5831f200108cd7b80bf86538c265e.zip |
Allow toggling "readable" mode in EWW
Additionally, add an option to prevent adding a new history entry for
each call of 'eww-readable' (bug#68254).
* lisp/net/eww.el (eww-retrieve):
* lisp/net/eww.el (eww-readable-adds-to-history): New option.
(eww-retrieve): Make sure we call CALLBACK in all configurations.
(eww-render): Simplify how to pass encoding.
(eww--parse-html-region, eww-display-document): New functions, extracted
from...
(eww-display-html): ... here.
(eww-document-base): New function.
(eww-readable): Toggle "readable" mode interactively, like with a minor
mode. Consult 'eww-readable-adds-to-history'.
(eww-reload): Use 'eshell-display-document'.
* test/lisp/net/eww-tests.el (eww-test--with-mock-retrieve): Fix indent.
(eww-test/display/html, eww-test/readable/toggle-display): New tests.
* doc/misc/eww.texi (Basics): Describe the new behavior.
* etc/NEWS: Announce this change.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-callargs.el')
0 files changed, 0 insertions, 0 deletions