[ms-dos] (byte-compile-file): Save as binary.

This commit is contained in:
Richard M. Stallman 1994-01-06 04:31:20 +00:00
parent bb15791002
commit e3c72369df

View file

@ -1177,6 +1177,8 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling."
;;; (error nil)))
(if (file-writable-p target-file)
(let ((kanji-flag nil)) ; for nemacs, from Nakagawa Takayuki
(if (eq system-type 'ms-dos)
(setq buffer-file-type t))
(write-region 1 (point-max) target-file))
;; This is just to give a better error message than
;; write-region