summaryrefslogtreecommitdiff
path: root/lisp/jka-compr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/jka-compr.el')
-rw-r--r--lisp/jka-compr.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index c01e4f4d4d5..b2b53335fc4 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -523,9 +523,7 @@ There should be no more than seven characters after the final `/'."
;; don't do that conversion.
(and (null enable-multibyte-characters)
(or (auto-coding-alist-lookup
- (save-match-data
- (string-match (jka-compr-info-regexp info) filename)
- (substring filename 0 (match-beginning 0))))
+ (jka-compr-byte-compiler-base-file-name file))
'raw-text))
(let ((coding (find-operation-coding-system
'insert-file-contents