]> code.delx.au - gnu-emacs/commitdiff
(x-cut-buffer-or-selection-value): Don't print messages
authorKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:20:39 +0000 (23:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:20:39 +0000 (23:20 +0000)
about failure to get selection or cut buffer.

lisp/term/x-win.el

index 1e8cb5a5cba50ec9030f17b8524ccf3039f37f8c..3deb6328a6cb41da696f49fad70ee604b3734bd5 100644 (file)
@@ -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))