aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2013-08-11 23:51:10 +0200
committerLars Magne Ingebrigtsen2013-08-11 23:51:10 +0200
commit3e41a054bf85132cbc84bb59f4461387dcb31972 (patch)
tree3236cb96dc6fd7a7f3d3abb2462b3b3f784b516b /lisp/net
parent6edea0a595d292c4d3f1a7e862195be07c874e40 (diff)
downloademacs-3e41a054bf85132cbc84bb59f4461387dcb31972.tar.gz
emacs-3e41a054bf85132cbc84bb59f4461387dcb31972.zip
* net/eww.el (eww-display-html): Ignore coding system errors.
One web site uses "utf-8lias" as the coding system.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/eww.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 70c11c3201f..a689ff2ae9f 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -199,7 +199,9 @@ word(s) will be searched for via `eww-search-prefix'."
199 199
200(defun eww-display-html (charset url) 200(defun eww-display-html (charset url)
201 (unless (eq charset 'utf8) 201 (unless (eq charset 'utf8)
202 (decode-coding-region (point) (point-max) charset)) 202 (condition-case nil
203 (decode-coding-region (point) (point-max) charset)
204 (coding-system-error nil)))
203 (let ((document 205 (let ((document
204 (list 206 (list
205 'base (list (cons 'href url)) 207 'base (list (cons 'href url))