From 6cf0843ec6ad3674d6d76b2709282bae0e69fd75 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 27 Apr 2017 11:00:45 +0200 Subject: Emacs: Don't ask about dired deletes when using trash --- emacs/.emacs.d/init.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index e2e06a6..5bb1c2a 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1020,7 +1020,9 @@ copying/moving files between them. (bind-key "^" (lambda () (interactive) (find-alternate-file "..")) dired-mode-map) (setq dired-dwim-target t dired-recursive-copies 'top - dired-recursive-deletes 'top + dired-recursive-deletes (if delete-by-moving-to-trash + 'always + 'top) dired-listing-switches "-alh") (when (and (eq system-type 'darwin) (executable-find "gls")) (setq insert-directory-program (executable-find "gls"))) -- cgit 1.4.1