Function: org-get-x-clipboard
org-get-x-clipboard is a byte-compiled function defined in
org-compat.el.gz.
Signature
(org-get-x-clipboard VALUE)
Documentation
Get the value of the X or Windows clipboard.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-compat.el.gz
;;; Miscellaneous functions
(defun org-get-x-clipboard (value)
"Get the value of the X or Windows clipboard."
(cond ((and (eq window-system 'x)
(fboundp 'gui-get-selection)) ;Silence byte-compiler.
(org-no-properties
(ignore-errors
(or (gui-get-selection value 'UTF8_STRING)
(gui-get-selection value 'COMPOUND_TEXT)
(gui-get-selection value 'STRING)
(gui-get-selection value 'TEXT)))))
((and (eq window-system 'w32) (fboundp 'w32-get-clipboard-data))
(w32-get-clipboard-data))))