From: Kenichi Handa Date: Fri, 10 Jun 2005 01:52:13 +0000 (+0000) Subject: (x-clipboard-yank): Use x-selection-value instead of x-get-selection. X-Git-Tag: emacs-pretest-22.0.90~9161 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=63e88db35a9388d7f74266a72187ad3bf22656cc;p=emacs.git (x-clipboard-yank): Use x-selection-value instead of x-get-selection. --- 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))