From: morioka Date: Mon, 25 Jan 1999 18:10:18 +0000 (+0000) Subject: (mime-preview-text/html): Guard from error of `w3-region'. X-Git-Tag: semi-1_13-199901251900~3 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c2e99706c6557c832adb1a0160d2fae9bd08bc15;p=elisp%2Fsemi.git (mime-preview-text/html): Guard from error of `w3-region'. --- diff --git a/mime-w3.el b/mime-w3.el index be90783..97ce765 100644 --- a/mime-w3.el +++ b/mime-w3.el @@ -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) ))))