Function: x-dnd-handle-offix-files

x-dnd-handle-offix-files is a byte-compiled function defined in x-dnd.el.gz.

Signature

(x-dnd-handle-offix-files WINDOW ACTION STRING)

Documentation

Convert OffiX file name list to a URI list.

Then, call x-dnd-handle-file-name.

WINDOW and ACTION mean the same as in x-dnd-handle-file-name. STRING is the raw OffiX file name data.

Source Code

;; Defined in /usr/src/emacs/lisp/x-dnd.el.gz
(defun x-dnd-handle-offix-files (window action string)
  "Convert OffiX file name list to a URI list.
Then, call `x-dnd-handle-file-name'.

WINDOW and ACTION mean the same as in `x-dnd-handle-file-name'.
STRING is the raw OffiX file name data."
  (x-dnd-handle-file-name window action
                          ;; OffiX file name lists contain one extra
                          ;; NULL byte at the end.
                          (if (string-suffix-p "\0\0" string)
                              (substring string 0 (1- (length string)))
                            string)))