Subject: bug#48805: 27.2; dired-mode moves point to wrong positions while deleting non-empty directories

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 04 Jun 2021 12:02:16 +0200

Stephen Berman <[email-masked]> writes:

> 	* lisp/dired.el (dired-do-flagged-delete, dired-do-delete): Use
> 	point-marker instead of point to record each file name position.
> 	Clean up the markers before returning.
> 	(dired-internal-do-deletions): Move to the file name marker, and
> 	then move point to the file name to visually emphasize which file
> 	is being operated on.

Looks good to me, so I've applied it to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no