]> git.eshelyaron.com Git - emacs.git/commitdiff
(jka-compr-insert-file-contents): Fix previous
authorDave Love <fx@gnu.org>
Mon, 12 Apr 1999 08:50:02 +0000 (08:50 +0000)
committerDave Love <fx@gnu.org>
Mon, 12 Apr 1999 08:50:02 +0000 (08:50 +0000)
change to use jka-compr-byte-compiler-base-file-name.

lisp/jka-compr.el

index c01e4f4d4d55de9860a0434cf28dba29b63dea91..b2b53335fc4330393129bd865c763089f60bfdd8 100644 (file)
@@ -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