Variable: rmail-mime-render-html-function

rmail-mime-render-html-function is a customizable variable defined in rmailmm.el.gz.

Value

rmail-mime-render-html-shr

Documentation

Function to convert HTML to text.

Called with buffer containing HTML extracted from message in a temporary buffer. Converts to text in current buffer. If nil, display HTML source.

This variable was added, or its default value changed, in Emacs 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/mail/rmailmm.el.gz
(defcustom rmail-mime-render-html-function
  (cond ((fboundp 'libxml-parse-html-region) #'rmail-mime-render-html-shr)
	((executable-find "lynx") #'rmail-mime-render-html-lynx)
	(t nil))
  "Function to convert HTML to text.
Called with buffer containing HTML extracted from message in a
temporary buffer.  Converts to text in current buffer.  If nil,
display HTML source."
  :group 'rmail
  :version "25.1"
  :type '(choice function (const nil)))