Skip to content

Commit

Permalink
Set Unix UTF-8 as the default coding system.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 265cbb76073edca88191f5470409009791db661e
  • Loading branch information
jaccarmac committed May 19, 2015
1 parent 99cfa0b commit 7b39bd1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dot-emacs-dot-d.org
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -412,6 +420,8 @@ Now, for some code.

<<fill-column>>

<<prefer-coding-system>>

<<inhibit-splash-screen>>

<<undo-tree>>
Expand Down
2 changes: 2 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b39bd1

Please sign in to comment.