organize utf-8

This commit is contained in:
Jesús 2019-05-15 16:03:36 -05:00
parent 6cfcde4a8e
commit 2ff45b3dc8
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 13 additions and 3 deletions

View File

@ -16,6 +16,19 @@
(setq make-backup-files nil) ; stop creating backup~ files
(setq auto-save-default nil) ; stop creating #autosave# files
;;------------------------------
;; Core settings | UTF-8 please
;;------------------------------
(set-charset-priority 'unicode)
(set-language-environment "UTF-8")
(set-terminal-coding-system 'utf-8) ; pretty
(set-keyboard-coding-system 'utf-8) ; pretty
(set-selection-coding-system 'utf-8) ; please
(prefer-coding-system 'utf-8) ; with sugar on top
(setq locale-coding-system 'utf-8) ; pretty
(setq default-process-coding-system '(utf-8-unix . utf-8-unix))
(setq-default buffer-file-coding-system 'utf-8-auto-unix)
;;----------------------------------------------------------------------------
;; Editor configuration
;;----------------------------------------------------------------------------

View File

@ -5,9 +5,6 @@
(setq user-full-name "Jesús E.")
(setq user-mail-address "heckyel@hyperbola.info")
(set-language-environment "UTF-8")
(prefer-coding-system 'utf-8)
(setq-default buffer-file-coding-system 'utf-8-auto-unix)
;; Local Variables:
;; byte-compile-warnings: (not free-vars)