2 ms·
From Emacs 28 onward, set 'dired-kill-when-opening-new-dired-buffer' to 't'. It will kill the previous buffer when opening a new directory.
by yaantc 4y ago
From Emacs 28 onward, set 'dired-kill-when-opening-new-dired-buffer' to 't'. It will kill the previous buffer when opening a new directory.