Function: x-dnd-handle-octet-stream-for-drop
x-dnd-handle-octet-stream-for-drop is a byte-compiled function defined
in x-dnd.el.gz.
Signature
(x-dnd-handle-octet-stream-for-drop SAVE-TO)
Documentation
Save the contents of the XDS selection to SAVE-TO.
Return non-nil if successful, nil otherwise.
Source Code
;; Defined in /usr/src/emacs/lisp/x-dnd.el.gz
(defun x-dnd-handle-octet-stream-for-drop (save-to)
"Save the contents of the XDS selection to SAVE-TO.
Return non-nil if successful, nil otherwise."
(ignore-errors
(let ((coding-system-for-write 'raw-text)
(data (x-get-selection-internal 'XdndSelection
'application/octet-stream)))
(when data
(write-region data nil save-to)
t))))