Function: trashed
trashed is an interactive and natively compiled function defined in
trashed.el.
Signature
(trashed)
Documentation
Viewing/editing system trash can.
Open, view, restore or permanently delete trashed files or directories in trash can with Dired-like look and feel. The trash can has to be compliant with freedesktop.org specification in
<https://freedesktop.org/wiki/Specifications/trash-spec/>
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/7ppdacjhnynz276lxxnfw8sdz6r2k6h2-emacs-packages-deps/share/emacs/site-lisp/elpa/trashed-20230811.157/trashed.el
;;;###autoload
(defun trashed ()
"Viewing/editing system trash can.
Open, view, restore or permanently delete trashed files or directories
in trash can with Dired-like look and feel. The trash can has to be
compliant with freedesktop.org specification in
<https://freedesktop.org/wiki/Specifications/trash-spec/>"
(interactive)
(if (not (buffer-live-p trashed-buffer))
(progn
(pop-to-buffer
(setq trashed-buffer (get-buffer-create trashed-buffer-name)))
(trashed-mode)
(revert-buffer)
(trashed-reset-vpos)
(trashed-reset-hpos t))
(pop-to-buffer trashed-buffer)))