From 132b7176873af3cdbd1a261c903fa9b6b9f140c8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 29 Oct 2015 08:56:17 +0100 Subject: Emacs: Fix preferred encoding style --- tag-emacs/emacs.d/init.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index eea2e00..97689d7 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 -- cgit 1.4.1