[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can I change the way emacs saves text files?
From: |
Eli Zaretskii |
Subject: |
Re: Can I change the way emacs saves text files? |
Date: |
Sat, 21 Feb 2004 11:41:09 +0200 |
> From: David Kastrup <dak@gnu.org>
> Newsgroups: gnu.emacs.help
> Date: 21 Feb 2004 01:26:52 +0100
>
> (set-default-coding-system 'latin-1-unix)
>
> or something like that should do the trick for setting the default.
Not a good idea, IMHO: the OP only wants to control the end-of-line
translation, not the entire encoding. Forcing Emacs to always use
latin-1-unix will do much more, and is most probably not what you want
in the OP's situation.