diff options
| -rw-r--r-- | lisp/jka-compr.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index 02530bb441e..c01e4f4d4d5 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el | |||
| @@ -522,7 +522,11 @@ There should be no more than seven characters after the final `/'." | |||
| 522 | ;; If multibyte characters are disabled, | 522 | ;; If multibyte characters are disabled, |
| 523 | ;; don't do that conversion. | 523 | ;; don't do that conversion. |
| 524 | (and (null enable-multibyte-characters) | 524 | (and (null enable-multibyte-characters) |
| 525 | 'raw-text-unix) | 525 | (or (auto-coding-alist-lookup |
| 526 | (save-match-data | ||
| 527 | (string-match (jka-compr-info-regexp info) filename) | ||
| 528 | (substring filename 0 (match-beginning 0)))) | ||
| 529 | 'raw-text)) | ||
| 526 | (let ((coding (find-operation-coding-system | 530 | (let ((coding (find-operation-coding-system |
| 527 | 'insert-file-contents | 531 | 'insert-file-contents |
| 528 | (jka-compr-byte-compiler-base-file-name file)))) | 532 | (jka-compr-byte-compiler-base-file-name file)))) |