all repos — nixfiles @ c25b570e33456318f7e0454766a046abc843b75d

System and user configuration, managed by nix and home-manager

emacs: make dired re-use buffers
Alan Pearce alan@alanpearce.eu
Wed, 22 May 2024 18:25:23 +0200
commit

c25b570e33456318f7e0454766a046abc843b75d

parent

12c5c317e243552f3c2fca66bef62bd28a82373a

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -677,6 +677,7 @@ (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))