diff options
author | Alan Pearce | 2015-10-29 08:56:17 +0100 |
---|---|---|
committer | Alan Pearce | 2015-10-29 08:58:39 +0100 |
commit | 132b7176873af3cdbd1a261c903fa9b6b9f140c8 (patch) | |
tree | 3afcfcf9ffee78a76757fca2d79373153745f6cc /tag-emacs/emacs.d/init.org | |
parent | 4c66e5fd5a452236839eab0fcaf028e4d5b3cd31 (diff) | |
download | nixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.tar.lz nixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.tar.zst nixfiles-132b7176873af3cdbd1a261c903fa9b6b9f140c8.zip |
Emacs: Fix preferred encoding style
Diffstat (limited to 'tag-emacs/emacs.d/init.org')
-rw-r--r-- | tag-emacs/emacs.d/init.org | 5 |
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 |