Function: rmail-mime-render-html-shr
rmail-mime-render-html-shr is a byte-compiled function defined in
rmailmm.el.gz.
Signature
(rmail-mime-render-html-shr SOURCE-BUFFER)
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmailmm.el.gz
(defun rmail-mime-render-html-shr (source-buffer)
(let ((dom (with-current-buffer source-buffer
(libxml-parse-html-region (point-min) (point-max))))
;; Image retrieval happens asynchronously, but meanwhile
;; `rmail-swap-buffers' may have been run, leaving
;; `shr-image-fetched' trying to insert the image in the wrong buffer.
(shr-inhibit-images t)
;; Bind shr-width to nil to force shr-insert-document break
;; the lines at the window margin. The default is
;; fill-column, whose default value is too small, and screws
;; up display of the quoted messages.
shr-width)
(shr-insert-document dom)))