fix: clipboard issues on Windows + WSL

Ref: 5b103261f4
This commit is contained in:
Henrik Lissner
2025-03-26 07:55:36 -04:00
parent 5b103261f4
commit 1ac579e08a

View File

@ -139,7 +139,7 @@
(setq default-input-method nil)
;; ...And the clipboard on Windows is often a wider encoding (UTF-16), so leave
;; Emacs to its own devices there.
(unless doom--system-windows-p
(unless (or doom--system-windows-p (featurep :system 'wsl))
(setq selection-coding-system 'utf-8))