Variable: delete-by-moving-to-trash

delete-by-moving-to-trash is a customizable variable defined in C source code.

Value

nil

Documentation

Specifies whether to use the system's trash can.

When non-nil, certain file deletion commands use the function move-file-to-trash instead of deleting files outright. This includes interactive calls to delete-file and delete-directory and the Dired deletion commands.

This variable was added, or its default value changed, in Emacs 23.1.

View in manual

Probably introduced at or before Emacs version 23.1.

Source Code

C code is not yet loaded.