From: Karl Heuer Date: Thu, 20 Feb 1997 05:40:01 +0000 (+0000) Subject: (byte-compile-file): Write a compiled file without X-Git-Tag: emacs-20.1~2943 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b8575ac32e3e8d8cffc1753017822c6423044707;p=emacs.git (byte-compile-file): Write a compiled file without any code conversion. --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 1ffd3cae2ca..2a9694b8065 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.24 $") +(defconst byte-compile-version "$Revision: 2.25 $") ;; This file is part of GNU Emacs. @@ -1268,7 +1268,8 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling." (insert "\n") ; aaah, unix. (let ((vms-stmlf-recfm t)) (if (file-writable-p target-file) - (let ((kanji-flag nil)) ; for nemacs, from Nakagawa Takayuki + ;; We must disable any code conversion here. + (let ((coding-system-for-read 'no-conversion)) (if (or (eq system-type 'ms-dos) (eq system-type 'windows-nt)) (setq buffer-file-type t)) (write-region 1 (point-max) target-file))