]> git.eshelyaron.com Git - emacs.git/commitdiff
(jka-compr-insert-file-contents):
authorRichard M. Stallman <rms@gnu.org>
Sun, 21 Dec 1997 02:26:48 +0000 (02:26 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 21 Dec 1997 02:26:48 +0000 (02:26 +0000)
If enable-multibyte-characters is nil, decode as raw-text.

lisp/jka-compr.el

index 58453869f92872707ebf5c9ac75314757f98b608..f66b84291c2b0f453321d20dbadd94ecf7fc2e03 100644 (file)
@@ -504,6 +504,10 @@ There should be no more than seven characters after the final `/'."
              size start
               (coding-system-for-read
               (or coding-system-for-read
+                  ;; If multibyte characters are disabled,
+                  ;; don't do that conversion.
+                  (and (null enable-multibyte-characters)
+                       'raw-text)
                   (let ((tail file-coding-system-alist)
                         (newfile
                          (jka-compr-byte-compiler-base-file-name file))