From 47313d2acc11964d120322b6f31cc7abf10ef280 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 29 Jun 2018 15:19:27 +0900 Subject: [PATCH] Set dired-deletion-confirmer --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index 3a49302..d4817d9 100644 --- a/emacs.el +++ b/emacs.el @@ -1286,6 +1286,8 @@ ARG is num to show, or defaults to 7." (set-variable 'dired-hide-details-hide-symlink-targets nil) (set-variable 'dired-hide-details-hide-information-lines nil) +(set-variable 'dired-deletion-confirmer 'y-or-n-p) + ;; (add-hook 'dired-after-readin-hook ;; 'my-replace-nasi-none)