help-gnu-emacs
[Top][All Lists]
Advanced

[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


From: Eli Zaretskii
Subject: Re: Emacs on Windows: How to save line breaks in Unix style in undecided buffers by default.
Date: Sun, 25 Jan 2009 20:43:29 +0200

> Date: Sun, 25 Jan 2009 13:59:08 +0100
> From: hans bennekop <ylphcm@googlemail.com>
> 
> 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
manual.

Alternatively, try this:

 (setq-default buffer-file-coding-system 'undecided-unix)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]