summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-view.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2018-04-12 19:18:26 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2018-04-12 19:18:26 +0200
commit17174d3f77fe6d5103bfe7e858035a0038010522 (patch)
treebf4e6b031095daa453a4223a6152f77df4f4b184 /lisp/gnus/mm-view.el
parent4616ddc1316f9e25429ab932bf87149dc578381d (diff)
downloademacs-17174d3f77fe6d5103bfe7e858035a0038010522.tar.gz
nil is no longer an allowed value for mm-inline-text-html
* doc/misc/emacs-mime.texi (Display Customization): Remove the doc for the nil case of mm-inline-text-html. * doc/misc/mh-e.texi (HTML): Ditto. * lisp/gnus/mm-view.el (mm-inline-text-html): If no mm-text-html-renderer is specified, just insert the raw text instead of erroring out (bug#30870).
Diffstat (limited to 'lisp/gnus/mm-view.el')
-rw-r--r--lisp/gnus/mm-view.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
index 75786cd71b8..50a927bce23 100644
--- a/lisp/gnus/mm-view.el
+++ b/lisp/gnus/mm-view.el
@@ -318,6 +318,8 @@
(if entry
(setq func (cdr entry)))
(cond
+ ((null func)
+ (mm-insert-inline handle (mm-get-part handle)))
((functionp func)
(funcall func handle))
(t