Do not panic when xclip is not available

This commit is contained in:
Sheng Yang 2020-12-14 15:42:15 -06:00
parent 49f3bc193a
commit 55c37710f5

View file

@ -22,7 +22,7 @@
;; wl-copy, termux-clipboard-get, or getclip (cygwin); depending on what
;; is available.
(and (require 'xclip nil t)
(xclip-mode +1)))))
(with-demoted-errors "%s" (xclip-mode +1))))))
(when (featurep! :editor evil)
;; Fix cursor shape-changing in the terminal. Only supported in XTerm, Gnome