Refactor UTF-8 setters
Some were redundant
This commit is contained in:
parent
80607ff033
commit
84343f57aa
1 changed files with 4 additions and 6 deletions
10
core/core.el
10
core/core.el
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue