diff --git a/core/core-editor.el b/core/core-editor.el index 8dba9ea79..070a72e49 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -132,11 +132,12 @@ possible." ;; Fixes the clipboard in tty Emacs by piping clipboard I/O through xclip, xsel, ;; pb{copy,paste}, wl-copy, termux-clipboard-get, or getclip (cygwin). -(add-hook! 'tty-setup-hook - (defun doom-init-clipboard-in-tty-emacs-h () - (and (not (getenv "SSH_CONNECTION")) - (require 'xclip nil t) - (xclip-mode +1)))) +(unless IS-WINDOWS + (add-hook! 'tty-setup-hook + (defun doom-init-clipboard-in-tty-emacs-h () + (and (not (getenv "SSH_CONNECTION")) + (require 'xclip nil t) + (xclip-mode +1))))) ;; diff --git a/core/packages.el b/core/packages.el index 19b43c8a6..62a7330e8 100644 --- a/core/packages.el +++ b/core/packages.el @@ -34,7 +34,7 @@ ;; Use my fork of ws-butler, which has a few choice improvements and ;; optimizations (the original has been abandoned). :recipe (:host github :repo "hlissner/ws-butler")) -(package! xclip) +(package! xclip :ignore IS-WINDOWS) ;; core-projects.el (package! projectile)