Function: tramp-get-remote-trash
tramp-get-remote-trash is a byte-compiled function defined in
tramp-sh.el.gz.
Signature
(tramp-get-remote-trash VEC)
Documentation
Determine remote trash command.
This command is returned only if delete-by-moving-to-trash is non-nil.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-trash (vec)
"Determine remote `trash' command.
This command is returned only if `delete-by-moving-to-trash' is non-nil."
(and delete-by-moving-to-trash
(with-tramp-connection-property vec "trash"
(tramp-message vec 5 "Finding a suitable `trash' command")
(tramp-find-executable vec "trash" (tramp-get-remote-path vec)))))