summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 998b53bd..ad5f8cbd 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -677,6 +677,7 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
 (setq dired-dwim-target t
       dired-recursive-copies 'top
       dired-listing-switches "-alh --group-directories-first"
+      dired-kill-when-opening-new-dired-buffer t
       dired-recursive-deletes (if delete-by-moving-to-trash
                                   'always
                                 'top))