Variable: trash-directory
trash-directory is a customizable variable defined in files.el.gz.
Value
nil
Documentation
Directory for move-file-to-trash to move files and directories to.
This directory is used only when the function system-move-file-to-trash
is not defined.
Relative paths are interpreted relative to default-directory.
If the value is nil, Emacs uses a freedesktop.org-style trashcan.
This variable was added, or its default value changed, in Emacs 23.2.
Probably introduced at or before Emacs version 23.1.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
;; Trashcan handling.
(defcustom trash-directory nil
"Directory for `move-file-to-trash' to move files and directories to.
This directory is used only when the function `system-move-file-to-trash'
is not defined.
Relative paths are interpreted relative to `default-directory'.
If the value is nil, Emacs uses a freedesktop.org-style trashcan."
:type '(choice (const nil) directory)
:group 'auto-save
:version "23.2")