Switch yank-media--get-selection back to the backend function
* lisp/yank-media.el (yank-media--get-selection): Switch back to gui-backend-get-selection until gui-get-selection is re-fixed.
This commit is contained in:
parent
10b4cbb2fc
commit
41b1fa05c7
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ all the different selection types."
|
|||
(gui-get-selection 'CLIPBOARD 'TARGETS)))
|
||||
|
||||
(defun yank-media--get-selection (data-type)
|
||||
(when-let ((data (gui-get-selection 'CLIPBOARD data-type)))
|
||||
(when-let ((data (gui-backend-get-selection 'CLIPBOARD data-type)))
|
||||
(if (string-match-p "\\`text/" (symbol-name data-type))
|
||||
(yank-media-types--format data-type data)
|
||||
data)))
|
||||
|
|
Loading…
Add table
Reference in a new issue