Function: eww-display-html
eww-display-html is a byte-compiled function defined in eww.el.gz.
Signature
(eww-display-html CHARSET URL &optional DOCUMENT POINT BUFFER)
Source Code
;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defun eww-display-html (charset url &optional document point buffer)
(let ((source (buffer-substring (point) (point-max))))
(with-current-buffer buffer
(plist-put eww-data :source source)))
(unless document
(let ((dom (eww--parse-html-region (point) (point-max) charset))
readable)
(when-let* (((eww-default-readable-p url))
(readable-dom (eww-readable-dom dom)))
(setq dom readable-dom
readable t))
(with-current-buffer buffer
(plist-put eww-data :readable readable))
(setq document (eww-document-base url dom))))
(eww-display-document document point buffer))