Commit 63e88db3 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(x-clipboard-yank): Use x-selection-value instead of x-get-selection.

parent 63baed99
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 <> 2005-06-10 Juanma Barranquero <>
* comint.el (comint-mode, comint-snapshot-last-prompt): * comint.el (comint-mode, comint-snapshot-last-prompt):
...@@ -2467,7 +2467,7 @@ order until succeed.") ...@@ -2467,7 +2467,7 @@ order until succeed.")
(interactive) (interactive)
(let ((clipboard-text (let ((clipboard-text
(condition-case nil (condition-case nil
(x-get-selection 'CLIPBOARD) (x-selection-value 'CLIPBOARD)
(error nil))) (error nil)))
(x-select-enable-clipboard t)) (x-select-enable-clipboard t))
(if (and clipboard-text (> (length clipboard-text) 0)) (if (and clipboard-text (> (length clipboard-text) 0))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment