Commit 2cd0169d authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(byte-compile-file): Treat windows-nt like ms-dos.

parent 23fa9040
......@@ -1181,7 +1181,7 @@ 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)
(if (or (eq system-type 'ms-dos) (eq system-type 'windows-nt))
(setq buffer-file-type t))
(write-region 1 (point-max) target-file))
;; This is just to give a better error message than
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment