summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-08-13 16:19:40 -0400
committerKyle Meyer <kyle@kyleam.com>2016-08-13 16:19:40 -0400
commit1c355e15a52e6b0d3a581b405dd082bc56f488cc (patch)
treee959de56fcac87728ec2dd49d752d4952970b8af
parent028cada179a1da354261a1c31d83d75448e496ab (diff)
downloademacs.d-1c355e15a52e6b0d3a581b405dd082bc56f488cc.tar.gz
Set dired-deletion-confirmer to y-or-n-p
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index cca2dd0..f56d8cf 100644
--- a/init.el
+++ b/init.el
@@ -1322,6 +1322,8 @@
(setq dired-recursive-copies t
dired-recursive-deletes t)
+ (setq dired-deletion-confirmer #'y-or-n-p)
+
(put 'dired-find-alternate-file 'disabled nil)
(add-hook 'dired-mode-hook #'dired-hide-details-mode)