diff --git a/lisp/dired.el b/lisp/dired.el index f2a75df6ef1..325c61627c2 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -4100,9 +4100,7 @@ dired-clean-up-after-deletion (let ((buf (get-file-buffer fn))) (and buf (or (and dired-clean-confirm-killing-deleted-buffers - (funcall #'y-or-n-p - (format "Kill buffer of %s, too? " - (file-name-nondirectory fn)))) + (sit-for 0.3)) (not dired-clean-confirm-killing-deleted-buffers)) (kill-buffer buf))) (let ((buf-list (dired-buffers-for-dir-or-subdir