diff options
author | Kenichi Handa <handa@m17n.org> | 1997-02-26 11:59:40 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 1997-02-26 11:59:40 +0000 |
commit | 95aeae460aff497e377f59d483f6e02ddf1e7470 (patch) | |
tree | 13cd6c0e1f926fc6ef9f3926b1d4d1775d01a48d /lisp/emacs-lisp/bytecomp.el | |
parent | c5536f37a6f05293d291df4c380a350cfaaa9ce8 (diff) | |
download | emacs-95aeae460aff497e377f59d483f6e02ddf1e7470.tar.gz emacs-95aeae460aff497e377f59d483f6e02ddf1e7470.tar.bz2 emacs-95aeae460aff497e377f59d483f6e02ddf1e7470.zip |
(byte-compile-file): Bind coding-system-for-write
instead of coding-system-for-read to 'no-conversion to disbale
code convertion by write-region.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 2a9694b8065..3f679d85884 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.25 $") +(defconst byte-compile-version "$Revision: 2.26 $") ;; This file is part of GNU Emacs. @@ -1269,7 +1269,7 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling." (let ((vms-stmlf-recfm t)) (if (file-writable-p target-file) ;; We must disable any code conversion here. - (let ((coding-system-for-read 'no-conversion)) + (let ((coding-system-for-write '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)) |