Next: system-move-file-to-trash, Previous: delete-directory, Up: File Directories [Index]
First, if the function system-move-file-to-trash
is defined, call it with
FILENAME as an argument.
Otherwise, move the file (or directory) named FILENAME to the trash, or if the
variable trash-directory
is defined3, to it.
When delete-by-moving-to-trash
is non-nil, this function is called by
delete-file
and delete-directory
instead of deleting files outright.
file or directory to move to trash.