From: Karl Heuer Date: Tue, 9 Jan 1996 23:20:39 +0000 (+0000) Subject: (x-cut-buffer-or-selection-value): Don't print messages X-Git-Tag: emacs-19.34~1738 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fd72a24746744fd09c9224715cdd1bc4b4572a3;p=emacs.git (x-cut-buffer-or-selection-value): Don't print messages about failure to get selection or cut buffer. --- 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))