summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/eww.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 5da7c4929c0..29b4b876465 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1426,8 +1426,8 @@ Differences in #targets are ignored."
(car (detect-coding-string binary))))))
(encodes (find-coding-systems-string decoded)))
(if (or (equal encodes '(undecided))
- (memq (or file-name-coding-system
- default-file-name-coding-system)
+ (memq (coding-system-base (or file-name-coding-system
+ default-file-name-coding-system))
encodes))
decoded
;; If we can't encode the decoded file name (due to language