From 7b39bd1a5f092becb7e2d18c8d4a581fca2d985f Mon Sep 17 00:00:00 2001 From: "jaccarmac@gmail.com" Date: Tue, 19 May 2015 00:46:35 +0000 Subject: [PATCH] Set Unix UTF-8 as the default coding system. FossilOrigin-Name: 265cbb76073edca88191f5470409009791db661e --- dot-emacs-dot-d.org | 10 ++++++++++ init.el | 2 ++ 2 files changed, 12 insertions(+) diff --git a/dot-emacs-dot-d.org b/dot-emacs-dot-d.org index d382e27..eb1160d 100644 --- a/dot-emacs-dot-d.org +++ b/dot-emacs-dot-d.org @@ -98,6 +98,14 @@ Now, for some code. (setq-default fill-column 79) #+END_SRC + Unix UTF-8 encoding is a better sensible default for encoding than whatever + platform-dependent value Emacs uses by default. + + #+NAME: prefer-coding-system + #+BEGIN_SRC emacs-lisp + (prefer-coding-system 'utf-8-unix) + #+END_SRC + It's also nice to not have to deal with the splash screen every time Emacs starts. @@ -412,6 +420,8 @@ Now, for some code. <> + <> + <> <> diff --git a/init.el b/init.el index 3e64b04..9745f2d 100644 --- a/init.el +++ b/init.el @@ -16,6 +16,8 @@ (setq-default fill-column 79) +(prefer-coding-system 'utf-8-unix) + (setq-default inhibit-splash-screen t) (quse-package undo-tree