[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs on Windows: How to save line breaks in Unix style in undecided
Re: Emacs on Windows: How to save line breaks in Unix style in undecided buffers by default.
Sun, 25 Jan 2009 20:43:29 +0200
> Date: Sun, 25 Jan 2009 13:59:08 +0100
> From: hans bennekop <address@hidden>
> In unsaved buffers that are not linked to a file the end-of-line style
> is 'undecided'.
> In this case Emacs saves line breaks in DOS style (crlf) on Windows.
> How can I set it up to use Unix line breaks (lf) by default?
Read the description of add-untranslated-filesystem in the Emacs
Alternatively, try this:
(setq-default buffer-file-coding-system 'undecided-unix)