]> git.eshelyaron.com Git - emacs.git/commitdiff
[ms-dos] (byte-compile-file): Save as binary.
authorRichard M. Stallman <rms@gnu.org>
Thu, 6 Jan 1994 04:31:20 +0000 (04:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 6 Jan 1994 04:31:20 +0000 (04:31 +0000)
lisp/emacs-lisp/bytecomp.el

index 9a80fa1831587954c1e627b09b3772ec6b13c8a4..cfb4251c725d6fcc5d9f745ea0a57e68ed5fe117 100644 (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