diff options
| author | Richard M. Stallman | 1994-01-06 04:31:20 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-01-06 04:31:20 +0000 |
| commit | e3c72369dfc8166ac2d09d7a4f972048cde7c67a (patch) | |
| tree | 1971fac3d35ec23f3412d5b293b33b34b3715bcb | |
| parent | bb157910027b3439e85912d44a98e96c8c0c6aba (diff) | |
| download | emacs-e3c72369dfc8166ac2d09d7a4f972048cde7c67a.tar.gz emacs-e3c72369dfc8166ac2d09d7a4f972048cde7c67a.zip | |
[ms-dos] (byte-compile-file): Save as binary.
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 9a80fa18315..cfb4251c725 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -1177,6 +1177,8 @@ With prefix arg (noninteractively: 2nd arg), load the file after compiling." | |||
| 1177 | ;;; (error nil))) | 1177 | ;;; (error nil))) |
| 1178 | (if (file-writable-p target-file) | 1178 | (if (file-writable-p target-file) |
| 1179 | (let ((kanji-flag nil)) ; for nemacs, from Nakagawa Takayuki | 1179 | (let ((kanji-flag nil)) ; for nemacs, from Nakagawa Takayuki |
| 1180 | (if (eq system-type 'ms-dos) | ||
| 1181 | (setq buffer-file-type t)) | ||
| 1180 | (write-region 1 (point-max) target-file)) | 1182 | (write-region 1 (point-max) target-file)) |
| 1181 | ;; This is just to give a better error message than | 1183 | ;; This is just to give a better error message than |
| 1182 | ;; write-region | 1184 | ;; write-region |