(mime-preview-text/html): Guard from error of `w3-region'.
authormorioka <morioka>
Mon, 25 Jan 1999 18:10:18 +0000 (18:10 +0000)
committermorioka <morioka>
Mon, 25 Jan 1999 18:10:18 +0000 (18:10 +0000)
mime-w3.el

index be90783..97ce765 100644 (file)
@@ -58,7 +58,9 @@
        (narrow-to-region p p)
        (mime-insert-text-content entity)
        (run-hooks 'mime-text-decode-hook)
-       (w3-region p (point-max))
+       (condition-case nil
+          (w3-region p (point-max))
+        (error nil))
        (mime-put-keymap-region p (point-max) w3-mode-map)
        ))))