changeset 14122:353ec8b5ede5

(x-cut-buffer-or-selection-value): Don't print messages about failure to get selection or cut buffer.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 Jan 1996 23:20:39 +0000
parents 8df78fb06aef
children e2d46e16a1ce
files lisp/term/x-win.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/x-win.el	Tue Jan 09 23:20:20 1996 +0000
+++ b/lisp/term/x-win.el	Tue Jan 09 23:20:39 1996 +0000
@@ -578,13 +578,13 @@
     ;; 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))