From c2e99706c6557c832adb1a0160d2fae9bd08bc15 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 25 Jan 1999 18:10:18 +0000 Subject: [PATCH] (mime-preview-text/html): Guard from error of `w3-region'. --- mime-w3.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) )))) -- 1.7.10.4