From 32ef1c1440a1ec8d4f8e55c78554311c8d18c349 Mon Sep 17 00:00:00 2001 From: morioka Date: Mon, 25 Jan 1999 18:30:19 +0000 Subject: [PATCH] (mime-preview-text/html): Display err if error occurs in `w3-region'. --- mime-w3.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mime-w3.el b/mime-w3.el index 97ce765..6ce9927 100644 --- a/mime-w3.el +++ b/mime-w3.el @@ -58,9 +58,9 @@ (narrow-to-region p p) (mime-insert-text-content entity) (run-hooks 'mime-text-decode-hook) - (condition-case nil + (condition-case err (w3-region p (point-max)) - (error nil)) + (error (message (format "%s" err)))) (mime-put-keymap-region p (point-max) w3-mode-map) )))) -- 1.7.10.4