(jka-compr-insert-file-contents):
Use auto-coding-alist-lookup to check for files that should not have eol conversion, in the unibyte case.
This commit is contained in:
parent
418cb80df2
commit
c352d95951
1 changed files with 5 additions and 1 deletions
|
@ -522,7 +522,11 @@ There should be no more than seven characters after the final `/'."
|
|||
;; If multibyte characters are disabled,
|
||||
;; don't do that conversion.
|
||||
(and (null enable-multibyte-characters)
|
||||
'raw-text-unix)
|
||||
(or (auto-coding-alist-lookup
|
||||
(save-match-data
|
||||
(string-match (jka-compr-info-regexp info) filename)
|
||||
(substring filename 0 (match-beginning 0))))
|
||||
'raw-text))
|
||||
(let ((coding (find-operation-coding-system
|
||||
'insert-file-contents
|
||||
(jka-compr-byte-compiler-base-file-name file))))
|
||||
|
|
Loading…
Add table
Reference in a new issue