From 5fd72a24746744fd09c9224715cdd1bc4b4572a3 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 9 Jan 1996 23:20:39 +0000 Subject: [PATCH] (x-cut-buffer-or-selection-value): Don't print messages about failure to get selection or cut buffer. --- lisp/term/x-win.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 1e8cb5a5cba..3deb6328a6c 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -578,13 +578,13 @@ This is in addition to the primary selection.") ;; Don't die if x-get-selection signals an error. (condition-case c (setq text (x-get-selection 'PRIMARY)) - (error (message "%s" c))) + (error nil)) (if (string= text "") (setq text nil)) (if x-select-enable-clipboard (condition-case c (setq text (x-get-selection 'CLIPBOARD)) - (error (message "%s" c)))) + (error nil))) (if (string= text "") (setq text nil)) (or text (setq text (x-get-cut-buffer 0))) (if (string= text "") (setq text nil)) -- 2.39.2