Synch to No Gnus 200506091113.
[elisp/gnus.git-] / lisp / mm-view.el
index f3e2f79..0d74f22 100644 (file)
       (when (or (equal type "enriched")
                (equal type "richtext"))
        (ignore-errors
-         (enriched-decode (point-min) (point-max))))
+         ;; Turn off `adaptive-fill-mode' that may cause an error
+         ;; as the case may be.
+         (let ((adaptive-fill-mode nil))
+           (enriched-decode (point-min) (point-max)))))
       (mm-handle-set-undisplayer
        handle
        `(lambda ()