Skip to content

Commit 1ac579e

Browse files
committed
fix: clipboard issues on Windows + WSL
Ref: 5b10326
1 parent 5b10326 commit 1ac579e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/doom-start.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
(setq default-input-method nil)
140140
;; ...And the clipboard on Windows is often a wider encoding (UTF-16), so leave
141141
;; Emacs to its own devices there.
142-
(unless doom--system-windows-p
142+
(unless (or doom--system-windows-p (featurep :system 'wsl))
143143
(setq selection-coding-system 'utf-8))
144144

145145

0 commit comments

Comments
 (0)