If you delete a file foo
in dired-x
, you get asked Kill buffer of foo, too?
. How can I skip this question and always answer it with yes
?
Other answers are stale, Since 26.1 Emacs provide a option to skip confirmation
(setq dired-clean-confirm-killing-deleted-buffers nil)