Refactor UTF-8 setters

Some were redundant
This commit is contained in:
Henrik Lissner 2019-03-02 03:53:13 -05:00
parent 80607ff033
commit 84343f57aa
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -132,12 +132,10 @@ else (except for `window-setup-hook').")
;; UTF-8 as the default coding system
(when (fboundp 'set-charset-priority)
(set-charset-priority 'unicode)) ; pretty
(prefer-coding-system 'utf-8) ; pretty
(set-terminal-coding-system 'utf-8) ; pretty
(set-keyboard-coding-system 'utf-8) ; pretty
(set-selection-coding-system 'utf-8) ; perdy
(setq locale-coding-system 'utf-8) ; please
(setq-default buffer-file-coding-system 'utf-8) ; with sugar on top
(prefer-coding-system 'utf-8) ; pretty
(setq selection-coding-system 'utf-8) ; pretty
(setq locale-coding-system 'utf-8) ; please
(if IS-WINDOWS (set-w32-system-coding-system 'utf-8)) ; with sugar on top
(setq-default
ad-redefinition-action 'accept ; silence advised function warnings