From 55c37710f53a44415afca630b03ef5fd93999baf Mon Sep 17 00:00:00 2001 From: Sheng Yang Date: Mon, 14 Dec 2020 15:42:15 -0600 Subject: [PATCH] Do not panic when xclip is not available --- modules/os/tty/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index 5546166e8..bcd6ee018 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -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