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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get rid of ^M at end of line


From: Peter Dyballa
Subject: Re: How to get rid of ^M at end of line
Date: Sat, 10 Oct 2009 19:49:14 +0200


Am 10.10.2009 um 19:14 schrieb bar tomas:

I've noticed that Ctrl end-of-line is set to Unix when I start Emacs,
is this to blame for the ^M?

Yes.

I toggle it each time back to DOS.
What should I write in my emacs init file to set Ctrl end-of-line
permanently to DOS (if this is the problem)?


You could try

        (prefer-coding-system       'iso-latin-9-dos)

--
Greetings

  Pete

A TRUE Klingon warrior does not comment his code.





reply via email to

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