Fix clipboard support on Windows #1284
Windows uses UTF-16 for clipboard content. selection-coding-system is set correctly on Windows systems so we leave it to its default there.
This commit is contained in:
parent
0a1de03ca1
commit
37525bb1bd
|
@ -132,9 +132,9 @@ Doom was setup, which can cause problems.")
|
|||
(when (fboundp 'set-charset-priority)
|
||||
(set-charset-priority 'unicode)) ; pretty
|
||||
(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
|
||||
(unless IS-WINDOWS
|
||||
(setq selection-coding-system 'utf-8)) ; with sugar on top
|
||||
|
||||
(setq-default
|
||||
ad-redefinition-action 'accept ; silence advised function warnings
|
||||
|
|
Loading…
Reference in New Issue
Block a user