all repos — nixfiles @ 132b7176873af3cdbd1a261c903fa9b6b9f140c8

System and user configuration, managed by nix and home-manager

Emacs: Fix preferred encoding style

Alan Pearce
commit

132b7176873af3cdbd1a261c903fa9b6b9f140c8

parent

4c66e5fd5a452236839eab0fcaf028e4d5b3cd31

1 file changed, 4 insertions(+), 1 deletion(-)

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