From: Andrea Zagli Date: Thu, 18 Jan 2018 07:19:57 +0000 (+0100) Subject: emacs_cross: aggiungo fine riga unix per win. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=dd95f4d3144a0527036db6bc4a755887363fd0d2;p=msys2 emacs_cross: aggiungo fine riga unix per win. --- diff --git a/tools/emacs_cross b/tools/emacs_cross index e866e88..e522c5a 100644 --- a/tools/emacs_cross +++ b/tools/emacs_cross @@ -35,6 +35,11 @@ ) ) +;; line-ending style +(if (eq system-type 'windows-nt) + (setq-default buffer-file-coding-system 'utf-8-unix) +) + ;; generic (blink-cursor-mode -1) (column-number-mode t)