Disable xclip-mode on windows
This commit is contained in:
parent
2d97b877ed
commit
36e73aedb6
2 changed files with 7 additions and 6 deletions
|
@ -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)))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue