summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2015-10-29 08:56:17 +0100
committerAlan Pearce2015-10-29 08:58:39 +0100
commit132b7176873af3cdbd1a261c903fa9b6b9f140c8 (patch)
tree3afcfcf9ffee78a76757fca2d79373153745f6cc
parent4c66e5fd5a452236839eab0fcaf028e4d5b3cd31 (diff)
downloadnixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.tar.lz
nixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.tar.zst
nixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.zip
Emacs: Fix preferred encoding style
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index eea2e00f..97689d77 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -400,8 +400,11 @@ trash for deleting on OS X.
 
 ** 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