From: morioka Date: Mon, 25 Jan 1999 18:30:19 +0000 (+0000) Subject: (mime-preview-text/html): Display err if error occurs in `w3-region'. X-Git-Tag: semi-1_13-199901251900~2 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ef1c1440a1ec8d4f8e55c78554311c8d18c349;p=elisp%2Fsemi.git (mime-preview-text/html): Display err if error occurs in `w3-region'. --- 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) ))))