From 63e88db35a9388d7f74266a72187ad3bf22656cc Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 10 Jun 2005 01:52:13 +0000 Subject: [PATCH] (x-clipboard-yank): Use x-selection-value instead of x-get-selection. --- lisp/ChangeLog | 5 +++++ lisp/term/x-win.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f24016c348..e3d6cdc98d6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-06-10 Zhang Wei (tiny change) + + * term/x-win.el (x-clipboard-yank): Use x-selection-value instead + of x-get-selection. + 2005-06-10 Juanma Barranquero * comint.el (comint-mode, comint-snapshot-last-prompt): diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 5b4ff6d2f7c..a4118029eaa 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -2467,7 +2467,7 @@ order until succeed.") (interactive) (let ((clipboard-text (condition-case nil - (x-get-selection 'CLIPBOARD) + (x-selection-value 'CLIPBOARD) (error nil))) (x-select-enable-clipboard t)) (if (and clipboard-text (> (length clipboard-text) 0)) -- 2.39.5