fix saving non-text file in Windows

svn: r694

original commit: ddd2f37dd9c077d2d1f0bac3a59dee2291571f4d
This commit is contained in:
Matthew Flatt 2005-08-28 22:42:21 +00:00
parent 508180d985
commit 2f98d1afe1

View File

@ -215,7 +215,7 @@
[actual-format (if (memq f-format '(copy same))
(-get-file-format)
f-format)]
[text? (not (memq actual-format '(text text-force-cr)))])
[text? (memq actual-format '(text text-force-cr))])
(and
file
(can-save-file? file f-format)