Set preferred coding system to utf-8

Fixes #785
This commit is contained in:
syl20bnr 2015-04-12 21:27:07 -04:00
parent 9f94f4ddbe
commit 4c95d2238b
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@
(defun spacemacs/init ()
"Create the special buffer for `spacemacs-mode' and perform startup
initialization."
;; explicitly set the prefered coding systems to avoid annoying prompt
;; from emacs (especially on Microsoft Windows)
(prefer-coding-system 'utf-8)
;; dotfile init
(dotspacemacs/load-file)
(dotspacemacs|call-func dotspacemacs/init "Calling dotfile init...")