diff options
| author | Lars Ingebrigtsen | 2015-12-25 08:31:10 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2015-12-25 08:31:10 +0100 |
| commit | a8627008abe4ab339df19b417776da28b3ce0fc7 (patch) | |
| tree | 950bf4729191268d77c76923033186e3725501b5 | |
| parent | 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e (diff) | |
| download | emacs-a8627008abe4ab339df19b417776da28b3ce0fc7.tar.gz emacs-a8627008abe4ab339df19b417776da28b3ce0fc7.zip | |
More eww file name coding fixes
* eww.el (eww-decode-url-file-name): Use the base coding
system to check for encodability.
| -rw-r--r-- | lisp/net/eww.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 091a4aeba86..593ed22dd38 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -1430,8 +1430,8 @@ Differences in #targets are ignored." | |||
| 1430 | (car (detect-coding-string binary)))))) | 1430 | (car (detect-coding-string binary)))))) |
| 1431 | (encodes (find-coding-systems-string decoded))) | 1431 | (encodes (find-coding-systems-string decoded))) |
| 1432 | (if (or (equal encodes '(undecided)) | 1432 | (if (or (equal encodes '(undecided)) |
| 1433 | (memq (or file-name-coding-system | 1433 | (memq (coding-system-base (or file-name-coding-system |
| 1434 | default-file-name-coding-system) | 1434 | default-file-name-coding-system)) |
| 1435 | encodes)) | 1435 | encodes)) |
| 1436 | decoded | 1436 | decoded |
| 1437 | ;; If we can't encode the decoded file name (due to language | 1437 | ;; If we can't encode the decoded file name (due to language |