If I'm in dired and have a subfolder with another dired buffer (a common situation when navigating up/down directory) and want to delete a folder, I hit Dx
to mark for deletion, then execute.
Emacs then asks if I want to trash the folder. I confirm, then it asks if I want to kill the dired buffer of the folder as well.
I can't think of a situation where I'd like to trash the folder but keep the buffer. Is there a way to always trash the buffer when trashing the folder?