all repos — archive/dotfiles @ 132b7176873af3cdbd1a261c903fa9b6b9f140c8

Superseded by nixfiles

Emacs: Fix preferred encoding style
Alan Pearce alan.pearce@spotcap.com
Thu, 29 Oct 2015 08:56:17 +0100
commit

132b7176873af3cdbd1a261c903fa9b6b9f140c8

parent

4c66e5fd5a452236839eab0fcaf028e4d5b3cd31

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -400,8 +400,11 @@ #+END_SRC 
 ** Encoding
 
+UTF-8 is usually appropriate. Note that =prefer-coding-system= expects
+only a coding system, not a coding system and line ending combination.
+
 #+BEGIN_SRC emacs-lisp
-(prefer-coding-system 'utf-8-auto-unix)
+(prefer-coding-system 'utf-8)
 (set-default-coding-systems 'utf-8-auto-unix)
 (setq-default buffer-file-coding-system 'utf-8-auto-unix)
 #+END_SRC